Having multiple slave/build executors running on the same machine can sometimes solve your build problem.
- Goto Manage Jenkins/Manage Nodes
- Press New Node
- Fill the name
Fill in the slave information :
After pressing save you get the standard Java launch screen. Remember to move press the launch button only in a browser of your actual slave machine.
Pressing the Launch button will download the JNLP file. This file contains all the information that the slave and the master requires. Download it.
After downloading move to the folder where the file was placed. Copy the file to let’s say D:\Slaves\SecondSlave\
In this folder, also place the Jenkins file :
jenkins-slave.exe
jenkins-slave.xml
slave.jar (needed by the service)
open the downloaded JNPL file in any editor, after a bit of formatting you will see a very long argument looking like a hash, line 9. Copy the hash
Open the Jenkins-slave.xml file in your favorite editor.
Change the id, name and set the hash as secret. After all these change open a command line and run the jenkins-slave.exe with argument install:
This will install the service on your slave machine, using the name given in the Jenkins-slave.xml
Be aware that installing the service will not start it, you have to start it manually, but you probably want to assign a user account to the service.
Also note that the assigned account to the service will be the user that will be running your compiler. This means that all all applications will be using the accounts settings such as nuget config and iis credentials.
* * *
Thanks for that info!