-
Improvement
-
Resolution: Unresolved
-
Major
-
None
Version
- Jenkins Parameterized Trigger plugin 2.11
- Jenkins ver. 1.424
Setup
- Project1 is set up to trigger parameterized build on Project2 with parameter
SOURCE_JOB_NAME=$JOB_NAME
- Project2 is set up to trigger parameterized build on Project3 with parameter
SOURCE_JOB_NAME=$SOURCE_JOB_NAME
- Project3 has one build command:
echo Source project name is \"$SOURCE_JOB_NAME\"
Problem
When building Project1, Project3 prints the following as expected:
Source project name is "Project1"
But, when manually triggering Project2, then Project3 prints:
Source project name is "$SOURCE_JOB_NAME"
I would expect it to print:
Source project name is ""
Which is the normal behaviour when playing around with variables in sh.
[JENKINS-10779] Non-existing parameters are not empty but replaced with parameter name
Assignee | Original: huybrechts [ huybrechts ] | New: Andrew Bayer [ abayer ] |
Issue Type | Original: Bug [ 1 ] | New: Improvement [ 4 ] |
Workflow | Original: JNJira [ 140981 ] | New: JNJira + In-Review [ 175386 ] |
Assignee | Original: Andrew Bayer [ abayer ] |