-
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
The v1.5.0 of pipeline-model-definition-plugin is released and include implementation of this ticket but documentation has not been updated.
This cause confusion for people like me who update the plugin, have failed builds caused by this breaking change and found contradictory information between the error message and current documentation.
I have previously seen alerts in the Update Center about possible incompatible configuration before updating some plugins. It could have been a good idea to use the same thing to alert user of this breaking change before they update.