Jenkins CI Construction

Source: Internet
Author: User
Tags grails node server jenkins ci

Cenos Jenkins under construction

1. Upload the installation package jenkins-1.656-1.1.noarch.rpm

2. Install Jenkins

sudo rpm-ivh jenkins-1.656-1.1.noarch.rpm

3.VI /etc/sysconfig/jenkins

Modify Port jenkins_port= "8888"- Port Free

Modifying a running user jenkins_user= "Admin"

4.vi/etc/init.d/jenkins

Add Java path ~/software/jdk1.7.0_79/bin/java

Candidates= "

/etc/alternatives/java

/usr/lib/jvm/java-1.6.0/bin/java

/usr/lib/jvm/jre-1.6.0/bin/java

/usr/lib/jvm/java-1.7.0/bin/java

/usr/lib/jvm/jre-1.7.0/bin/java

/usr/lib/jvm/java-1.8.0/bin/java

/usr/lib/jvm/jre-1.8.0/bin/java

/usr/bin/java

/home/admin/software/jdk1.7.0_79/bin/java

5. Modify the Jenkins owner

sudo chown-r admin/usr/lib/jenkins

sudo chgrp-r admin/usr/lib/jenkins

sudo chown-r admin/var/log/jenkins

sudo chgrp-r admin/var/log/jenkins

sudo chown-r admin/var/lib/jenkins

sudo chgrp-r admin/var/lib/jenkins

sudo chown-r admin/var/cache/jenkins

sudo chgrp-r admin/var/cache/jenkins

6. Start Jenkins

sudo service Jenkins start

7. Visit Jenkins

http://ip:8888

8. The "Optional plugins " list appears empty when Jenkins is installed

http://www.techv5.com/topic/421/


Need to install software:

Grails

Jdk

Git

Tomcat

Python,nose

Need to install plugins:

Cobertura Plugin Code Coverage

Email Extension Plugin Email Notification

Grails plugin Compilation tool

JUnit Plugin Unit Test

Python Plugin Pyhton script

SSH Slaves Plugin telnet node server

Hudson SELENIUMHQ Plugin

TestNG Results Plugin

Job:

Execute in sequence and in order

Build Builds

test tests (unit, interface,UI)

Checkcode Code Check

Deploy Deployment

Trigger conditions:

Build Once the code has changed

Test as per actual needs

Code Check Once the code is changed

Deployment as needed

Jenkins CI Construction

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.