-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
-
1.5.0
https://issues.jenkins-ci.org/browse/JENKINS-48523 added support to the tag when condition with the comparator.
At the moment, the changeset when condition does support GLOB, but no REGEXP patterns. Let's standardize the changeset condition format as done with the tag condition.
when { changeset "**/*.java" } when { changeset pattern: "**/*.java", comparator: "GLOB" } when { changeset pattern: ".*\\.java", comparator: "REGEXP" }
- causes
-
JENKINS-59785 java.io.NotSerializableException: hudson.plugins.git.GitChangeSetList
-
- Open
-
- links to
[JENKINS-60217] When condition for Changeset with comparator
Description |
Original:
https://issues.jenkins-ci.org/browse/JENKINS-48523  added support to the tag when condition with the comparator. At the moment, the branch when condition does support GLOB, but no REGEXP patterns. Let's standardize the branch condition format as done with the tag condition. {code:java} when { branch "release-*" } when { branch pattern: "release-*", comparator: "GLOB" } when { branch pattern: "release-\\d+", comparator: "REGEXP" } {code} |
New:
https://issues.jenkins-ci.org/browse/JENKINS-48523  added support to the tag when condition with the comparator. At the moment, the changeset when condition does support GLOB, but no REGEXP patterns. Let's standardize the changeset condition format as done with the tag condition. {code:java} when { changeset "**/*.java" } when { changeset pattern: "**/*.java", comparator: "GLOB" } when { changeset pattern: ".*\\.java", comparator: "REGEXP" } {code} |
Released As | Original: 1.4.0 |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Remote Link | New: This issue links to "PR (Web Link)" [ 24106 ] |
Remote Link | New: This issue links to "PR-DOCS (Web Link)" [ 24107 ] |
Released As | New: 1.5.0 |
Link | New: This issue causes JENKINS-59785 [ JENKINS-59785 ] |