-
Bug
-
Resolution: Unresolved
-
Major
-
None
When triggering another build and loading a properties file, if you have Jenkin's variables with paths in them, the backslashes are removed for the variable.
Ex:
"ROOT_PATH=${WORKSPACE}
Results"
ROOT_PATH variable will appear with "C:jenkins_agentworkspace\Results"
and should appear as:
"C:\jenkins_agent\workspace\Results"
[JENKINS-19276] Escape characters such as "\" for filepaths are being removed from variables loaded from properties file.
Description |
Original:
When triggering another build and loading a properties file, if you have variables with paths in them, the backslashes are removed for the variable. Ex: ROOT_PATH=C:\Windows ROOT_PATH variable will appear with C:Windows |
New:
When triggering another build and loading a properties file, if you have Jenkin's variables with paths in them, the backslashes are removed for the variable. Ex: ROOT_PATH=${WORKSPACE}\\Results ROOT_PATH variable will appear with "C:jenkins_agentworkspace\Results" and should appear as: "C:\jenkins_agent\workspace\Results" |
Description |
Original:
When triggering another build and loading a properties file, if you have Jenkin's variables with paths in them, the backslashes are removed for the variable. Ex: ROOT_PATH=${WORKSPACE}\\Results ROOT_PATH variable will appear with "C:jenkins_agentworkspace\Results" and should appear as: "C:\jenkins_agent\workspace\Results" |
New:
When triggering another build and loading a properties file, if you have Jenkin's variables with paths in them, the backslashes are removed for the variable. Ex: "ROOT_PATH=${WORKSPACE}\\Results" ROOT_PATH variable will appear with "C:jenkins_agentworkspace\Results" and should appear as: "C:\jenkins_agent\workspace\Results" |
Workflow | Original: JNJira [ 150724 ] | New: JNJira + In-Review [ 177750 ] |
bump!