JENKISN build a continuous integration environment

Source: Internet
Author: User

Installing Jenkins


Download http://mirrors.jenkins-ci.org/war/

Start Nohup Java-jar Jenkins.war &


Security plugin phing Plugin deploy plugin GIT plugin Email Extension plugin Publish over SSH Plot plugin


Set up Jenkins



Set up mail

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/82/86/wKioL1dX3CuD-1ENAAAyGL7LakY511.png-wh_500x0-wm_3 -wmp_4-s_492340272.png "title=" 1.PNG "alt=" Wkiol1dx3cud-1enaaaygl7laky511.png-wh_50 "/>


650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/82/88/wKiom1dX3kCzkaTGAABKaIy_DdE889.png-wh_500x0-wm_3 -wmp_4-s_4077003750.png "title=" 2.PNG "alt=" Wkiom1dx3kczkatgaabkaiy_dde889.png-wh_50 "/>

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/82/86/wKioL1dX313wpXz-AAApLpQQmlg096.png-wh_500x0-wm_3 -wmp_4-s_2427548016.png "title=" 3.PNG "alt=" Wkiol1dx313wpxz-aaaplpqqmlg096.png-wh_50 "/>


Set up message triggers


650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/82/8A/wKiom1dYGPChgdljAAB03j3dkAM129.png-wh_500x0-wm_3 -wmp_4-s_3907389461.png "title=" CFQ. PNG "alt=" Wkiom1dygpchgdljaab03j3dkam129.png-wh_50 "/>



650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/82/8A/wKiom1dYGQPyfszYAABIobJ6-QY136.png-wh_500x0-wm_3 -wmp_4-s_1536308338.png "title=" Zhm. PNG "alt=" Wkiom1dygqpyfszyaabiobj6-qy136.png-wh_50 "/>



The following is the private key of Jenkins


650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/82/88/wKiom1dX3p3x4i56AAF4zWxqvTw689.png-wh_500x0-wm_3 -wmp_4-s_2429089429.png "title=" 4.PNG "alt=" Wkiom1dx3p3x4i56aaf4zwxqvtw689.png-wh_50 "/>


Set the name of the remote to send IP user name directory


650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/82/86/wKioL1dX3_-jYcSSAABEWTwKR9A866.png-wh_500x0-wm_3 -wmp_4-s_2566288669.png "title=" 5.PNG "alt=" Wkiol1dx3_-jycssaabewtwkr9a866.png-wh_50 "/>



Click 650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/82/88/wKiom1dX30Xiw3dSAAAaqg8jL9U138.png-wh _500x0-wm_3-wmp_4-s_3108155249.png "title=" 1.PNG "alt=" Wkiom1dx30xiw3dsaaaaqg8jl9u138.png-wh_50 "/>



650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/82/88/wKiom1dX39yzQU5DAAAiSck44Bs238.png-wh_500x0-wm_3 -wmp_4-s_1629948748.png "title=" 2.PNG "alt=" Wkiom1dx39yzqu5daaaisck44bs238.png-wh_50 "/>


650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/82/87/wKioL1dX4PXD4DJ0AABgErPrEms792.png-wh_500x0-wm_3 -wmp_4-s_4259427401.png "title=" 3.PNG "alt=" Wkiol1dx4pxd4dj0aabgerprems792.png-wh_50 "/>


650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/82/87/wKioL1dX4QehcaYCAAA8XtMlG7A268.png-wh_500x0-wm_3 -wmp_4-s_3540988254.png "title=" 4.PNG "alt=" Wkiol1dx4qehcaycaaa8xtmlg7a268.png-wh_50 "/>




phing Download and install

Https://www.phing.info/trac/wiki/Users/News/Phing%202.14.0%20released


Http://www.lxway.com/4468018594.htm


Installing MAVEN

http://xugang-1017-126-com.iteye.com/blog/1634032


Vim/etc/profile

unset I

Unset-f Pathmunge

Export Java_home=/usr/local/java

Classpath=/usr/local/java/lib/dt.jar:/usr/local/java/lib/tools.jar

Path=/usr/local/java/bin: $PATH

Export PATH java_home CLASSPATH


Export M2_home=/usr/local/maven

Path= $PATH: $JAVA _home/bin: $M 2_home/bin

Export PATH USER LOGNAME MAIL HOSTNAME histsize


Export phing_home=/usr/local/phing/

Export php_classpath=${phing_home}/classes

Export Path=${path}:${phing_home}/bin


Source/etc/profile


Next, create a free-style project


650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/82/88/wKioL1dYEKqxGNcdAAC5YQlN7Lc405.png-wh_500x0-wm_3 -wmp_4-s_1730477235.png "title=" 5.PNG "alt=" Wkiol1dyekqxgncdaac5yqln7lc405.png-wh_50 "/>


Enter Git address

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/82/8A/wKiom1dYEHSj9h1ZAABhPeVNV1k813.png-wh_500x0-wm_3 -wmp_4-s_3681572707.png "title=" 1.PNG "alt=" Wkiom1dyehsj9h1zaabhpevnv1k813.png-wh_50 "/>


Enter work schedule to be performed once per minute

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/82/8A/wKiom1dYEKvQo_LsAABj8ktwmxg775.png-wh_500x0-wm_3 -wmp_4-s_1617276570.png "title=" 2.PNG "alt=" Wkiom1dyekvqo_lsaabj8ktwmxg775.png-wh_50 "/>


650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/82/88/wKioL1dYEcbBkWsyAABDrX3sRN4398.png-wh_500x0-wm_3 -wmp_4-s_4269557973.png "title=" 3.PNG "alt=" Wkiol1dyecbbkwsyaabdrx3srn4398.png-wh_50 "/>

Enter Accept email Address

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/82/8A/wKiom1dYEM3ykB5BAABDyo00Qzo928.png-wh_500x0-wm_3 -wmp_4-s_847594329.png "title=" 4.PNG "alt=" Wkiom1dyem3ykb5baabdyo00qzo928.png-wh_50 "/>



Complete

http://birdinroom.blog.51cto.com/7740375/1342897


JENKISN build a continuous integration environment

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.