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 1 in Jenkins by Savita
• 140 points
61 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 by Sirajul
• 37,480 points

Related Questions In Jenkins

+2 votes
5 answers
0 votes
1 answer

What are parameterized jobs in jenkins and how to configure it?

Hey @Hannah, Parameterized jobs/builds are the ones ...READ MORE

answered Dec 16, 2018 in Jenkins by Kiyara
1,139 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
213 views
0 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 in Jenkins by Sirajul
• 37,480 points
708 views