Reproduction procedure:
1. Create a new system environment variable: %JENKINS_DIR% which represents
the installation folder of Jenkins, in my test environment, it's "C:\Program
Files (x86)\Jenkins"
2. Create a job which has build parameters defined in a property file, and
the full path of this property files is
"${JENKINS_DIR}\products\Properties\MyProduct-1.0.property" which should be
interpreted as "C:\Program Files
(x86)\Jenkins\products\Properties\MyProduct-1.0.property"
3. When I execute the job, it failed and threw the "Invalid path"
exeception, because it tried to find the file in "C:\Program Files
(x86)\Jenkins\Job\test\1\archive\C:\Program Files
(x86)\Jenkins\products\Properties\MyProduct-1.0.property"
It must be something wrong because the problem doesn't exist in 1.628 which
I upgraded from it.
--
View this message in context:
http://jenkins-ci.361315.n4.nabble.com/Value-of-imported-system-environment-variable-is-wrong-in-Jenkins-1-635-tp4778819.html
Sent from the Jenkins users mailing list archive at Nabble.com.