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