Jenkins Auto Build

Source: Internet
Author: User

Jenkins is a award-winning, cross-platform, continuous integration and continuous delivery application that INCR Eases your productivity. Use Jenkins to build and test your software projects continuously making it easier for developers to integrate CH Anges to the project, and making it easier for users to obtain a fresh build. It also allows continuously deliver your software by providing powerful ways to define your build pipeline s and integrating with a large number of testing and deployment technologies.

http://jenkins-ci.org/

Hudson is the predecessor of Jenkins and a continuous integration tool based on Java development.

Jenkins is a continuous integration tool based on Java development for monitoring continuous duplication of work, including: 1. Continuous software release/test project. 2. Monitor the work performed by external calls. The first is to ensure that the system has installed the JDK, preferably jdk1.5 above. The first way to start, switch to Jenkins.war stored directory, enter the following command: $ Java-jar Jenkins.war and then in the browser (recommended with Firefox) input localhost:8080,localhost can be the IP of the machine, It can also be a computer name. You can open Jenkins. The second method is to use Tomcat to open the extract tomcat to a directory, such as/usr/local, into the ToMCAT under the/bin directory, start Tomcat.put the Jenkins.war file in the WebApps directory under Tomcat, and when you start Jenkins, it automaticallyThe WebApps directory is set up in the Jenkins directory, so the address you need to enter on the address bar is a bit different from the previous method. System settings

On the already-running Jenkins home page, click System settings on the left to enter the following interface:

Use 1. Create a new job2. (Discard the old build: http://www.blogjava.net/qileilove/archive/2014/02/08/409616.htmlhttp://www.2cto.com/os/201502/377054.html)
    • Configure SVN
    • Configure build trigger Conditions
    • Configuration build trigger execution action, generate report script will be executed

Run build automatically

Trigger a Build:

    • Builds in Jenkins can is triggered periodically (on a schedule, specified in configuration) here the syntax for schedule is defined as the common cron syntax for UNIX.
    • Or when source changes in the project has been detected

You can set the Jenkins timing check if SVN has changed, or you can manually check: Http://YOURHOST/jenkins/job/PROJECTNAME/pollong. You can also set Jenkins as Post-commit, which is especially useful for those who check if code changes take a long time.

    • Or they can automatically triggered by requesting the URL:

Http://YOURHOST/jenkins/job/PROJECTNAME/build

    • Set up post-build actions
    • Build effect

http://www.ibm.com/developerworks/cn/java/j-lo-jenkins/http://blog.csdn.net/littlechang/article/details/ 8642149HTTP://BLOG.CSDN.NET/PINGNANLEE/ARTICLE/DETAILS/18962207 implementation submission Code GitHub automatically notifies Jenkins compiled deployment using Jenkins to perform Hello Build a C + + continuous Integration Environment under world compilation Jenkins

Jenkins Auto Build

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.