jenkinsci / jenkinsci/parameterized-trigger-plugin
[JENKINS-19276] Escape characters such as "\" for filepaths are being removed from variables loaded from properties file.
- Dominant language
- Java
- Stars
- 77
- Forks
- 174
- Avg merge
- 22h 27m
- Merged PRs (30d)
- 1
Description
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"
---
Originally reported by mjnohai, imported from: Escape characters such as "\" for filepaths are being removed from variables loaded from properties file.
Raw content of original issue
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"
Contributor guide
Assessment
This issue has not been assessed yet.