-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 1.619
release-plugin 2.5.3
Assigning release build steps to After failed or successful release build and all matrix configurations is impossible from Jelly UI because of code duplication in src/main/resources/hudson/plugins/release/ReleaseWrapper/config.jelly 2.5.3:
Line 105
<!-- Post build steps --> <label class="attach-previous">${%After failed or successful release build}</label> <f:hetero-list name="postBuildSteps" hasHeader="true" descriptors="${h2.getBuildSteps(it)}" items="${instance.postBuildSteps}" addCaption="${%Add release step}"/>
is duplicated at line 160:
<!-- Post build steps --> <label class="attach-previous">${%After failed or successful release build and all matrix configurations}</label> <f:hetero-list name="postBuildSteps" hasHeader="true" descriptors="${h2.getBuildSteps(it)}" items="${instance.postBuildSteps}" addCaption="${%Add release step}"/>
whereas it should use postMatrixBuildSteps instead of postBuildSteps.
This results in the post build steps steps to be duplicated each time the page is saved.
The only workaround is NOT to rely on Jenkins Jelly UI to configure such job (XML editing / Jenkins API).