-
Bug
-
Resolution: Duplicate
-
Major
-
None
I have a very simple promotion:
promotion { name('Production') icon("star-gold") conditions { manual('teamA,teamB') } actions { copyArtifacts('$PROMOTED_JOB_NAME') { includePatterns('envInject.properties') buildSelector { buildNumber('$PROMOTED_NUMBER') } } downstreamParameterized { trigger("Dist-To-Prod"){ block { buildStepFailure('never') failure('FAILURE') unstable('UNSTABLE') } parameters { propertiesFile('envInject.properties',true) } } } } }
When I go to the generated job promotion status, I don't see anything.
If I go to the job configuration, and without changing anything, click on "Save", the promotions become visible.
Looking the promotion XML, it seems like the isVisible element is missing.
Am I missing something?
- duplicates
-
JENKINS-41029 Promotions aren't copies when job generated with DSL
-
- Open
-
[JENKINS-40262] Promotions created with job DSL are not visible
Description |
Original:
I have a very simple promotion: {code} promotion { name('Production') icon("star-gold") visible(true) conditions { manual('teamA,teamB') } actions { copyArtifacts('$PROMOTED_JOB_NAME') { includePatterns('envInject.properties') buildSelector { buildNumber('$PROMOTED_NUMBER') } } downstreamParameterized { trigger("Dist-To-Prod"){ block { buildStepFailure('never') failure('FAILURE') unstable('UNSTABLE') } parameters { propertiesFile('envInject.properties',true) } } } } } {code} When I go to the generated job promotion status, I don't see anything. If I go to the job configuration, and without changing anything, click on "Save", the promotions become visible. Looking the promotion XML, it seems like the isVisible element is missing. Am I missing something? |
New:
I have a very simple promotion: {code} promotion { name('Production') icon("star-gold") conditions { manual('teamA,teamB') } actions { copyArtifacts('$PROMOTED_JOB_NAME') { includePatterns('envInject.properties') buildSelector { buildNumber('$PROMOTED_NUMBER') } } downstreamParameterized { trigger("Dist-To-Prod"){ block { buildStepFailure('never') failure('FAILURE') unstable('UNSTABLE') } parameters { propertiesFile('envInject.properties',true) } } } } } {code} When I go to the generated job promotion status, I don't see anything. If I go to the job configuration, and without changing anything, click on "Save", the promotions become visible. Looking the promotion XML, it seems like the isVisible element is missing. Am I missing something? |
Assignee | Original: Daniel Spilker [ daspilker ] | New: Oleg Nenashev [ oleg_nenashev ] |
Link | New: This issue duplicates JENKINS-41029 [ JENKINS-41029 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Epic Link | New: JENKINS-44837 [ 182897 ] |