Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in DevOps and Agile by (29.3k points)

After running the command 

sudo java -jar agent.jar -jnlpUrl http://3.134.115.12:8080/computer/salve-1/slave-agent.jnlp -secret 4777d0a371034e568093cb9dc37f2ce602b61aababcdea30db61a7cfdfb7390c -workDir "/home/ubuntu/jenkins"

It appears the following error 

Apr 06, 2020 8:20:58 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir

INFO: Using /home/ubuntu/jenkins/remoting as a remoting work directory

Apr 06, 2020 8:20:58 PM org.jenkinsci.remoting.engine.WorkDirManager setupLogging

INFO: Both error and output logs will be printed to /home/ubuntu/jenkins/remoting

The connection is not happenning Any suggestions would be helpful.

1 Answer

0 votes
by (50.2k points)

Reason:  If you restart the instance and trying to connect the IP will be changed in aws so, in the execution, you need to modify the IP.  

Wait until the command complete execution. If that is not working or taking a long time then kindly check the IP address of your Jenkins master and the IP address in the command that you are using. If the IP is not the same update the new Master IP in the command and try to execute that will work for you.

For more information, check out this Jenkins Tutorial.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...