-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 2.150.2
Windows 10 pro
Environment injector plugin 2.1.6
When running a slave with the path set in environment variables the (added) path is duplicated.
Steps
- Created a slave to run on localhost by Java Web Start.
- Add node properties environment variables, name: Path value: $Path;X;Y;Z
- Run pipeline job that displays the path
Expected
To see the path ending with ;X;Y;Z
Actual
The path ends with :X;Y;Z;X;Y;Z
pipeline { agent { label 'slave-1' } stages { stage('path') { steps { bat('path') } } //stage } //stages } //pipeline