Forum Discussion
Hi steventwerd
I hope you are well.
Can you send a screenshot of the error?
JAR file config issues are generally due to the path not existing or changing.
Have you cross checked the location of the JAR file and verified that the arguments used /location specifed are valid?
Also would you have changed the xml
Do you know if you have changed the location of the JAR file ?
Sorry for all the questions but it might uncover why this is happening for you
Thanks
Vincent
Hi Vincent,
Please see the screenshots below:
There are 3 screenshots of the command prompt after entering the command given to me by Jenkins, a screenshot of Jenkins telling me to put the command into the command prompt and a screenshot of the directory that I am using as the remote root directory.
Hi,
Just a guess: what if you change 'java -jar agent.jar ...' to 'java -jar C:\Jenkins\agent.jar ...' ?
- steventwerd4 years agoOccasional Contributor
Hey Alex,
Thank you, that has solved my problem and the agent is now connected. Thank you, you truly are a Community Hero. xD
Steven