Flying Test said: Recently in charge of continuous integration related work, we use is Jenkins+svn+maven+sonar, today in with slave this piece appeared a problem, troubleshooting for a long time to solve, stepped on the pit, now and we look together, hope to everyone has help;
Background: I'm using jenkins2.0, installed under Tomcat
Problem: After configuring the node, download SLAVE-AGENT.JNLP, run the file, such as error: Unable to start the application, copy the path to the browser access, also error
Click "Details" to see, find the path out of the exception, look carefully, feel the path of what is missing, because I am under Tomcat configuration of the jenkins2.0, access to the words should take this path
Open the Slave-agent.jnlp file, view, find all URLs less jenkins2.0 this paragraph, so cannot access, all modified after, save again
Run SLAVE-AGENT.JNLP again and click "Run"
Successfully started, our problems were resolved, hoping to help crossing with similar problems:
?
Well, this time, more to share the next goodbye, to bring you more value, is the direction we look forward to, have more interest in the Welcome to learn, our subscription number, contact the following:
Jenkins configuration Slave encountered an "unable to start the application" issue