Once we have installed the jenkins setup, we need to launch jenkins.war file manually before accessing jenkins as shown below. To avoid running jenkins.war manually to start jenkins, we can install jenkins as a window service.
1. From the localhost jenkins machine, run the jenkins.war files as shown above.
2. Once Jenkins is up and running, open localhost:8080 in the browser.
3. Go to Manage Jenkins> Install as Windows Service.
4. Follow steps in below screenshot to install Window Service.
5. Go to run>services.msc. Jenkins should be installed as a service.
Steps to install Jenkins as window service:
1. From the localhost jenkins machine, run the jenkins.war files as shown above.
2. Once Jenkins is up and running, open localhost:8080 in the browser.
3. Go to Manage Jenkins> Install as Windows Service.
4. Follow steps in below screenshot to install Window Service.
5. Go to run>services.msc. Jenkins should be installed as a service.
No comments:
Post a Comment