Jenkins build Project poll SCM parameters how to configure

Source: Internet
Author: User

Trigger project;

Poll SCM: Periodically check the source changes (according to the version number of the SCM software), if there is an update checkout the latest code down, and then perform the build action. The following figure configuration:
/5 * * * (check the source change every 5 minutes)

Build periodically: The cycle of project construction (it does not care whether the source is changed), as shown in the following figure configuration:
H 2 * * * * (every 2:00 must build one time source)

Fill in the Schedule 0 * * * *.

The first parameter represents the minute minute, the value 0~59;

The second parameter represents the hour hour, the value 0~23;

The third parameter represents day, value 1~31;

The fourth parameter represents the month month, and takes the value 1~12;

The last parameter represents the week week, 0~7,0 and 7 are meant for Sunday.

So 0 * * * * represents the first 0 minutes of each hour to perform the 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.