![]() ![]() ![]() When you click "OK", the slave agent window will terminate. Once the installation succeeds, you'll be asked if you'd like to stop the current slave agent and immediately start a slave agent. The installation will place the program files to the directory designated as the slave root directory (from the "configure executors" screen.) You should see a window like this:Ĭhoose "File" > "Install as Windows Service" from the menu:Ĭonfirm your intention to install as a service. This should create a JNLP launch icon in the corresponding page, as shown below:įrom the slave machine, launch a slave agent. (See Distributed builds for more about how to do distribute builds in general.)įirst, you configure your slave to run as a JNLP slave agent. Jenkins also allows you to install a slave agent as a Windows service. Install Slave as a Windows service (require. ![]() If a restart fails for some reason, check the output from Jenkins, which is stored in the installation directory that you specified.įor W2K8 R2 users you may need to add C:\Windows\SysWOW64 to the PATH env var.Īt this point you can use the service manager to confirm that Jenkins is running as a service. When you click yes, you'll be asked to wait until the restart completes: This is to re-launch Jenkins as a newly installed Windows service. Upon successful completion of the installation, you should see a page asking you to restart Jenkins. This will become JENKINS_HOME and used to store data files and programs alike. You can verifying that Jenkins is running as a service by launching the Services app from the Windows Start Menu and looking for a running service called "jenkins" among the list of all windows services running on the machine.Ĭlicking this link shows you the installation screen:Ĭhoose the directory where Jenkins shall be installed (directory must already exist. NOTE: The "Install as Windows Service" link indicated above will not appear if Jenkins is already running as a service on the machine. Now connect to Jenkins by going to the following URL Once Jenkins is started this way, look for the "Install as Windows Service" link in the "Manage Jenkins" page (requires Microsoft. This can be done from JNLP, or by running " java -jar jenkins.war". NOTE: if you installed Jenkins using the windows installer, you shouldn't need to do anything else here because the windows installer automatically runs Jenkins as a windows service.įirst, you need to start Jenkins before installing it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |