-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
job-dsl-plugin 1.39
build-pipeline-plugin 1.4.8
When using the DSL to update the initial job of a Build Pipeline view, the change is not reflected by the view.
The problem is that the DSL only generated the selectedJob element, but not the gridBuilder element which has been introduced in build-pipeline-plugin 1.3.4. The gridBuilder element seems to take precedence then rendering the view.
For example after updating the initial job from f1/e1 to f1/e2, the config XML of the view looks like this and f1/e1 is still shown as initial view:
<au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView plugin="build-pipeline-plugin@1.4.8"> <selectedJob>f1/e2</selectedJob> <gridBuilder class="au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder"> <firstJob>f1/e1</firstJob> <firstJobLink>view/v2/job/f1/job/e1/</firstJobLink> </gridBuilder> </au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView>