/build/static/layout/Breadcrumb_cap_w.png

to stop code checkin if no changes in jenkins

I have created a job to run the build process daily. It includes.
1. to checkin the code at a particular time.
2. to compile the code.
3. create and installer.

It is running in the scheduled time daily.

Is there any way to add one more step in the start to check whether any changes in the number of commits from the gitub repo and if no changes then skip the process.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: ur00361883 6 years ago
Black Belt
0
found solution for this.
Please find the below page.
https://devopsdiaryblog.wordpress.com/2017/06/06/how-to-schedule-a-job-at-a-particular-time-and-only-if-any-changes-are-there/
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ