jenkinsci / jenkinsci/parameterized-trigger-plugin

[JENKINS-19276] Escape characters such as "\" for filepaths are being removed from variables loaded from properties file.

Open
#573 1 comment 0 reactions 0 assignees View on GitHub
component:parameterized-trigger-plugin imported-jira-issue priority:major resolution:unresolved
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.


  • assignee: huybrechts
  • status: Open
  • priority: Major
  • component(s): parameterized-trigger-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-07

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.