-
Bug
-
Resolution: Not A Defect
-
Minor
-
Jenkins 1.651.2
all-changes (All changes plugin): 1.3
analysis-core (Static Analysis Utilities): 1.76
ant (Ant Plugin): 1.3
antisamy-markup-formatter (OWASP Markup Formatter Plugin): 1.3
authentication-tokens (Authentication Tokens API Plugin): 1.2
build-alias-setter (Build Alias Setter Plugin): 0.4
build-environment (Build Environment Plugin): 1.6
build-flow-plugin (Build Flow plugin): 0.19
build-timeout (build timeout plugin): 1.16
build-user-vars-plugin (user build vars plugin): 1.5
buildtriggerbadge (Build Trigger Badge Plugin): 2.2
built-on-column (built-on-column): 1.1
clone-workspace-scm (Clone Workspace SCM Plug-in): 0.6
conditional-buildstep (conditional-buildstep): 1.3.3
console-column-plugin (Console Column Plugin): 1.5
console-tail (Console Tail Plugin): 1.1
copyartifact (Copy Artifact Plugin): 1.38
credentials (Credentials Plugin): 1.28
cvs (CVS Plug-in): 2.12
description-setter (description setter plugin): 1.10
disk-usage (disk-usage plugin): 0.28
diskcheck (diskcheck): 0.26
durable-task (Durable Task Plugin): 1.9
email-ext (Email Extension Plugin): 2.42
envinject (Environment Injector Plugin): 1.92.1
environment-script (Environment Script Plugin): 1.2.2
extended-choice-parameter (Extended Choice Parameter Plug-In): 0.72
external-monitor-job (External Monitor Job Type Plugin): 1.4
extra-columns (Extra Columns Plugin): 1.17
flexible-publish (Flexible Publish Plugin): 0.15.2
git (Git plugin): 2.4.4
git-client (Git client plugin): 1.19.6
git-notes (git-notes Plugin): 0.0.4
git-parameter (Git Parameter Plug-In): 0.5.1
git-tag-message (Git Tag Message Plugin): 1.5
greenballs (Green Balls): 1.15
groovy-label-assignment (Groovy Label Assignment plugin): 1.1.1
icon-shim (Icon Shim Plugin): 2.0.3
javadoc (Javadoc Plugin): 1.3
jobConfigHistory (Job Configuration History Plugin): 2.14
jquery (jQuery plugin): 1.11.2-0
junit (JUnit Plugin): 1.13
lastfailureversioncolumn (Last Failure Version Column): 1.1
ldap (LDAP Plugin): 1.12
linenumbers (Line Numbers plugin): 1.1
mailer (Mailer Plugin): 1.17
mapdb-api (MapDB API Plugin): 1.0.6.0
matrix-auth (Matrix Authorization Strategy Plugin): 1.3.2
matrix-combinations-parameter (Matrix Configuration Parameter Plugin): 1.0.9
matrix-project (Matrix Project Plugin): 1.6
maven-plugin (Maven Integration plugin): 2.12.1
nodelabelparameter (Node and Label parameter plugin): 1.7.2
pam-auth (PAM Authentication plugin): 1.2
parameterized-trigger (Parameterized Trigger plugin): 2.30
pegdown-formatter (PegDown Formatter Plugin): 1.3
postbuildscript (Post-Build Script Plug-in): 0.17
preSCMbuildstep (Pre SCM BuildStep Plugin): 0.3
ruby-runtime (ruby-runtime): 0.12
run-condition (Run Condition Plugin): 1.0
scm-api (SCM API Plugin): 1.2
script-security (Script Security Plugin): 1.19
show-build-parameters (Show Build Parameters plugin): 1.0
ssh-credentials (SSH Credentials Plugin): 1.12
ssh-slaves (SSH Slaves plugin): 1.11
statusmonitor (Status Monitor Plugin): 1.3
subversion (Subversion Plug-in): 2.5.7
tasks (Task Scanner Plug-in): 4.48
thinBackup (ThinBackup): 1.7.4
tmpcleaner (java.io.tmpdir cleaner plugin): 1.2
token-macro (Token Macro Plugin): 1.12.1
tool-labels-plugin (Tool Labels Plugin for Jenkins): 3.0
translation (Translation Assistance plugin): 1.14
uptime (Uptime): 1.0
valgrind (Valgrind Plug-in): 0.25
warnings (Warnings Plug-in): 4.53
windows-slaves (Windows Slaves Plugin): 1.1Jenkins 1.651.2 all-changes (All changes plugin): 1.3 analysis-core (Static Analysis Utilities): 1.76 ant (Ant Plugin): 1.3 antisamy-markup-formatter (OWASP Markup Formatter Plugin): 1.3 authentication-tokens (Authentication Tokens API Plugin): 1.2 build-alias-setter (Build Alias Setter Plugin): 0.4 build-environment (Build Environment Plugin): 1.6 build-flow-plugin (Build Flow plugin): 0.19 build-timeout (build timeout plugin): 1.16 build-user-vars-plugin (user build vars plugin): 1.5 buildtriggerbadge (Build Trigger Badge Plugin): 2.2 built-on-column (built-on-column): 1.1 clone-workspace-scm (Clone Workspace SCM Plug-in): 0.6 conditional-buildstep (conditional-buildstep): 1.3.3 console-column-plugin (Console Column Plugin): 1.5 console-tail (Console Tail Plugin): 1.1 copyartifact (Copy Artifact Plugin): 1.38 credentials (Credentials Plugin): 1.28 cvs (CVS Plug-in): 2.12 description-setter (description setter plugin): 1.10 disk-usage (disk-usage plugin): 0.28 diskcheck (diskcheck): 0.26 durable-task (Durable Task Plugin): 1.9 email-ext (Email Extension Plugin): 2.42 envinject (Environment Injector Plugin): 1.92.1 environment-script (Environment Script Plugin): 1.2.2 extended-choice-parameter (Extended Choice Parameter Plug-In): 0.72 external-monitor-job (External Monitor Job Type Plugin): 1.4 extra-columns (Extra Columns Plugin): 1.17 flexible-publish (Flexible Publish Plugin): 0.15.2 git (Git plugin): 2.4.4 git-client (Git client plugin): 1.19.6 git-notes (git-notes Plugin): 0.0.4 git-parameter (Git Parameter Plug-In): 0.5.1 git-tag-message (Git Tag Message Plugin): 1.5 greenballs (Green Balls): 1.15 groovy-label-assignment (Groovy Label Assignment plugin): 1.1.1 icon-shim (Icon Shim Plugin): 2.0.3 javadoc (Javadoc Plugin): 1.3 jobConfigHistory (Job Configuration History Plugin): 2.14 jquery (jQuery plugin): 1.11.2-0 junit (JUnit Plugin): 1.13 lastfailureversioncolumn (Last Failure Version Column): 1.1 ldap (LDAP Plugin): 1.12 linenumbers (Line Numbers plugin): 1.1 mailer (Mailer Plugin): 1.17 mapdb-api (MapDB API Plugin): 1.0.6.0 matrix-auth (Matrix Authorization Strategy Plugin): 1.3.2 matrix-combinations-parameter (Matrix Configuration Parameter Plugin): 1.0.9 matrix-project (Matrix Project Plugin): 1.6 maven-plugin (Maven Integration plugin): 2.12.1 nodelabelparameter (Node and Label parameter plugin): 1.7.2 pam-auth (PAM Authentication plugin): 1.2 parameterized-trigger (Parameterized Trigger plugin): 2.30 pegdown-formatter (PegDown Formatter Plugin): 1.3 postbuildscript (Post-Build Script Plug-in): 0.17 preSCMbuildstep (Pre SCM BuildStep Plugin): 0.3 ruby-runtime (ruby-runtime): 0.12 run-condition (Run Condition Plugin): 1.0 scm-api (SCM API Plugin): 1.2 script-security (Script Security Plugin): 1.19 show-build-parameters (Show Build Parameters plugin): 1.0 ssh-credentials (SSH Credentials Plugin): 1.12 ssh-slaves (SSH Slaves plugin): 1.11 statusmonitor (Status Monitor Plugin): 1.3 subversion (Subversion Plug-in): 2.5.7 tasks (Task Scanner Plug-in): 4.48 thinBackup (ThinBackup): 1.7.4 tmpcleaner (java.io.tmpdir cleaner plugin): 1.2 token-macro (Token Macro Plugin): 1.12.1 tool-labels-plugin (Tool Labels Plugin for Jenkins): 3.0 translation (Translation Assistance plugin): 1.14 uptime (Uptime): 1.0 valgrind (Valgrind Plug-in): 0.25 warnings (Warnings Plug-in): 4.53 windows-slaves (Windows Slaves Plugin): 1.1
I have a "String parameter" named GIT_BRANCH_NAME.
If I have the following shell code for the pre-SCM:
export | sort ... if [ x${GIT_BRANCH_NAME} != "xdevelop" ]; then export BRANCHNAME=" (${GIT_BRANCH_NAME})" fi
then the result includes
export GIT_BRANCH_NAME="\${GIT_BRANCH_NAME}"
BUT if I force a quote around the parameter name:
export | sort ... if [ x"${GIT_BRANCH_NAME}" != "xdevelop" ]; then export BRANCHNAME=" (${GIT_BRANCH_NAME})" fi
I get the expected results:
export GIT_BRANCH_NAME="develop"
This could be envinject causing the problems as well.