In Jenkins while creating node when we select option launch agent by Connecting it to the master what should be launch command

+2 votes
Nov 2, 2019 in Jenkins by Savita
• 140 points
1,978 views

1 answer to this question.

+1 vote

The command looks something like this: 

java -jar agent.jar -jnlpUrl http://10.201.64.144/computer/Agent_Node_1/slave-agent.jnlp -workDir "E:\Jenkins"

You need to execute it after downloading the agent.jar file.

The complete process of launching a slave by connecting to master is given here: https://www.edureka.co/community/48364/windows-slave-agent-jnlp-have-jenkins-master-configured-linux?show=48364#q48364

Hope this helps.

answered Nov 4, 2019 by Sirajul
• 59,230 points

Related Questions In Jenkins

0 votes
2 answers
0 votes
1 answer
+2 votes
5 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,035 views
+2 votes
1 answer
0 votes
2 answers

What is the command to restart jenkins through command line in linux?

On Ubuntu or Debian, when installed through apt-get/dpkg: $ ...READ MORE

answered Aug 1, 2019 in Jenkins by Sirajul
• 59,230 points
20,709 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP