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

1 answer to this question.

+1 vote

The command looks something like this: 

java -jar agent.jar -jnlpUrl -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:

Hope this helps.

answered Nov 4 by Sirajul
• 40,980 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
+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
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
• 40,980 points