Under Windows installation jenkins, close jenkins, jenkins modify the port number

Bloggers write great

https://www.cnblogs.com/llxx07/p/7486798.html

 

 

1, Jenkins installation and deployment

In the official website to download Jenkins:

https://jenkins.io/download/thank-you-downloading-windows-installer-stable/

Direct decompression, double-click to install

2, select the address of the installation:

3, direct fool install Click next until finally click finish. Enter the password, the password is stored in said red font directory location. Copied directly from the text fill

 

 

4, choose to install the plug-in, I chose to install suggested plugins (all installed plug-ins) installed, and the other is a custom installation

 

It will directly be installed, if the installation fails then click the lower right corner of the plug-retry, the installation again.

5, built administrator account, save

After a successful save,

6. Click start using jenkins, jenkins into the page.

 

7, how to build maven task? 

System Management add plug-ins maven integration plugin.

 

 Edited on October 27, 2017

After jenkins has been started will start unless you manually turn it off.

Run as administrator cmd, enter the installation directory to the directory has jenkins.war. Execute net stop jenkins can be stopped.

 

Start command net start jenkins

Information: http: //blog.csdn.net/x_men_01/article/details/51557731

Configure the port number, the default port 8080 will be changed to other ports.

Turn off jenkins, enter CMD in

#net stop jenkins

For jenkins \ jenkins.xml in --httpPort = 8080 modified

  <arguments>-Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080 --webroot="%BASE%\war"</arguments>

修改为8090.然后启动net start jenkins.

OK这个问题解决了

资料:http://www.cnblogs.com/EasonJim/p/6037086.html

 

Guess you like

Origin www.cnblogs.com/taozihua/p/11128508.html