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.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/1446454613254-4778819.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.