-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 2.7
Promoted Builds plugin ver 2.2.7
Following a migration from Jenkins 1.x to 2.2.7, the 'promoted build' plugin stopped replacing most of the variables that we rely on. The PROMOTED_* built-in variables (like $PROMOTED_USER_NAME and $PROMOTED_SVN_REVISION) still work just fine. And promotion parameters work fine, too.
But parameters of the build being promoted are no longer replaced – the parameter text remains unchanged in the tasks executed during the promotion. The build parameters are still available during the initial build, but don't seem to be available during the promotion run.
In our particular case, we're using the variables in the extended e-mail publisher during promotion, but I've also verified the same problem when using a simple shell script in the promotion.
- depends on
-
JENKINS-14169 Injected env variables not available for use in processing promotion.
- Resolved