-
Type:
Improvement
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: pipeline
-
Labels:
-
Similar Issues:
If given a bean from a class that has at least one @DataBoundSetter, uninstantiate should create another bean using the @DataBoundConstructor and the same constructor parameters, then compare the values of the setter fields. If any are equals to the values from the "control" bean, omit them in the map.
This would be useful for example for omitting changelog: true from git in the snippet generator.
- is blocking
-
JENKINS-26094 DescribableHelper
-
- Resolved
-
- links to
Code changed in jenkins
User: Jesse Glick
Path:
CHANGES.md
cps/src/main/java/org/jenkinsci/plugins/workflow/cps/Snippetizer.java
cps/src/test/java/org/jenkinsci/plugins/workflow/cps/SnippetizerTest.java
step-api/src/main/java/org/jenkinsci/plugins/workflow/structs/DescribableHelper.java
step-api/src/test/java/org/jenkinsci/plugins/workflow/structs/DescribableHelperTest.java
support/src/test/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepTest.java
http://jenkins-ci.org/commit/workflow-plugin/1714a18dff390651095edd5491d0433aa38b6f71
Log:
Merge pull request #58 from jglick/DescribableHelper-default-
JENKINS-25779JENKINS-25779DescribableHelper.uninstantiate and default valuesCompare: https://github.com/jenkinsci/workflow-plugin/compare/40b9acf658a1...1714a18dff39