Install Jenkins in windows

Source: Internet
Author: User

1. Run the "java-jar Jenkins. war" command when installing jenkins. The following problems occur:


It is only because port 8080 is occupied by a program and you need to modify the port number.

Solution:

Run the "java-jar jenkins. war -- ajp13Port =-1 -- httpPort = 8089" command.

8089 is the new port number, which can be changed to whatever you want, but it should not conflict with other programs.

OK.

2. Install the jenkins service so that you do not need to repeat the command every time and start the service on your own.
(Jenkins-> Manage Jenkins-> Installing Jenkins as Windows service, install jenkins in your specified directory D: \ Jenkins)
Close the startup window and try to start the installed Service.
Control Panel-> Administrative Tools-> services, you can see jenkins, right-click Start



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.