-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
pipeline-model-definition-plugin 1.1.3
Create a pipeline with the following configuration and run the job.
pipeline { agent { label 'my_label' } triggers { upstream upstreamProjects: 'upstream', threshold: hudson.model.Result.SUCCESS } options{ timestamps() } stages { stage('build') { steps { echo 'building' } } }
Create another job (upstream) in the same folder and run it (should see original pipeline is triggered).
Remove triggers from original pipeline, rerun it (to ensure a new config.xml could be generated)
Rerun upstream job
The second run should trigger the pipeline job. What I've done in the past to workaround this is to put in a bogus upstream job in triggers to force a rewrite of config.xml.
- is duplicated by
-
JENKINS-43667 Changes to parameters block applied inconsistently
-
- Closed
-
- links to
I've hit a similar issue with default parameter values. Not sure if its the same workflow or not, but may warrant a new issue.
Changing the default in source control doesn't appear to propagate to the job until manually kicking off the build. I haven't retested with other parameter value types.