jenkinsci / jenkinsci/conditional-buildstep-plugin

[JENKINS-60842] Add version-comparision to Conditional Buildstep plugin

Open
#205 0 comments 0 reactions 0 assignees View on GitHub
component:conditional-buildstep-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
17
Forks
39
Avg merge
23h 17m
Merged PRs (30d)
1

Description

I use Jenkins to build releases of software with multiple dependencies and, some times, need to do things differently depending on a dependency's version...

Some versions can be compared as numbers, but not all. It would be very useful to be able to compare things like 1.3 against 1.2.1.1, or 1.3a vs. 1.3b.

Python's LooseVersion can be used as a reference. Thank you!

---
Originally reported by unitedmarsupials, imported from: Add version-comparision to Conditional Buildstep plugin


  • assignee: domi
  • status: Open
  • priority: Major
  • component(s): conditional-buildstep-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20260107-133739

Raw content of original issue

I use Jenkins to build releases of software with multiple dependencies and, some times, need to do things differently depending on a dependency's version...

Some versions can be compared as numbers, but not all. It would be very useful to be able to compare things like 1.3 against 1.2.1.1, or 1.3a vs. 1.3b.

Python's LooseVersion can be used as a reference. Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.