6.jenkins configuration build triggers for automated builds

Source: Internet
Author: User

With the previous configuration, Jenkins is able to implement automatic remote deployment and mail notification, but each time the build is manually executed

Build triggers configuration for automated builds

The build triggers module in your project configuration allows you to configure automated builds of different policies

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7E/C1/wKioL1cHg3miKkm3AAAxSh__vig195.png "title=" Jenkins1.png "alt=" Wkiol1chg3mikkm3aaaxsh__vig195.png "/>

Here are the main introduction to "Build periodically" and "Poll SCM"

Build periodically: Cycle for project construction (it does not care if the source is changed)

Poll SCM: Regularly check the source changes (according to the SCM software version number), if there is an update checkout the latest code down, and then perform the build action.

Indicates that the build is executed every 10 minutes

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/7E/C5/wKiom1cHgtqgthclAAAhkKF48jc493.png "title=" Jenkins2.png "alt=" Wkiom1chgtqgthclaaahkkf48jc493.png "/>


Indicates that the source code is checked once every 2 hours, and the source code is updated to perform the construction

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7E/C5/wKiom1cHguuR_TwYAAAZNm21wYU875.png "title=" Jenkins3.png "alt=" Wkiom1chguur_twyaaaznm21wyu875.png "/>

The format of the schedule is similar to crontab in Linux, except that there are no command columns

1th column min 1~59
2nd Column Hour 0~23
3rd Liege 1~31
4th Column Month 1~12
5th column of the week 0~7 (0 and 7 = Sunday)

Configure complete Click "Save"

At this point, Jenkins has automatic builds, automatic remote deployment, and email notification capabilities, which enable continuous building capabilities.


This article is from the "Wandering Fish" blog, please make sure to keep this source http://faded.blog.51cto.com/6375932/1761863

6.jenkins configuration build triggers for automated builds

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.