in Education by
I have a Jenkins Slave (A Windows PC) which has the JAVA_HOME environment variable. I updated the Java version on the Slave so I also updated the Environment Variable. When I look at the system properties of this Slave via Jenkins web interface the JAVA_HOME property is reported as the old one. Running echo %PATH% on the Windows PC shows the correct values. Running println System.getenv("PATH") on the Jenkins Node script console for the Slave shows the old JAVA_HOME value. I have tried to delete and add the Slave again and restarted Jenkins server. Still the old value is not updated. Any thoughts? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
This is a bug in Jenkins: https://issues.jenkins-ci.org/browse/JENKINS-27739 3 ways to solve (I have personally confirmed each): Update Jenkins to >=1.617 (Recommended) Restart Jenkins master Delete Jenkins slave, then re-add it

Related questions

0 votes
    Explain the master-slave architecture of Jenkins....
asked Oct 4, 2020 in Technology by Editorial Staff
0 votes
    I declare steps that need to be done in order to install wordpress in an array in the beginning of ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Aug 1, 2022 in Education by JackTerrance
0 votes
    Default Environment Variables by Jenkins & How to introduce custom environment variables?...
asked Sep 14, 2021 in Technology by JackTerrance
0 votes
    How code coverage is measured/tracked using Jenkins in a CI environment?...
asked Sep 14, 2021 in Technology by JackTerrance
0 votes
    What are default Environment Variables by Jenkins & How to introduce custom environment variables?...
asked Jul 17, 2021 in Technology by JackTerrance
0 votes
    How code coverage is measured/tracked using Jenkins in a CI environment?...
asked Jul 17, 2021 in Technology by JackTerrance
0 votes
    I need to use environment variable "PATH" in yaml file which needs to be parsed with a script. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 10, 2022 in Education by JackTerrance
0 votes
    Which environment variable is used to specify the path to maven? (a) JAVA_HOME (b) PATH (c) MAVEN_HOME (d) ... & Annotations of Java Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    I've a little problem with Websphere application server 7.0 (WAS7) and the reading of Environment Varaibles. With TomCat, I've defined a variable as...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which environment variable is used to specify the path to maven? (a) JAVA_HOME (b) PATH (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    What is the purpose of PYTHONHOME environment variable?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the purpose of PYTHONCASEOK environment variable?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the purpose of PYTHONSTARTUP environment variable?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the purpose of PYTHONPATH environment variable?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the environment variable in Blue-Prism?...
asked Nov 6, 2020 in Technology by JackTerrance
...