-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: job-dsl-plugin
-
Environment:job-dsl-plugin 1.57
parameterized trigger plugin 2.32
jenkins 2.19.4
when generating a parameterized trigger build, I want to run the current project with the same parameters except a boolean I want to switch
In my DSL groovy script, I tried the options:
- same node
- current build
- boolean parameter
but I got
- boolean parameter
- same node
- current build
This above order is always the same, whatever the order of commands I specified in script
The boolean parameter I want is overriden by current build whereas it should be the contrary. I prefer that the order of generated components matches the order of commands in groovy DSL.
I tried automatically generated solution but I failed on ambiguity between hudson.tasks.buildtrigger and hudson.plugins.parameterizedtrigger.BuildTrigger