Difference between revisions of "CI/Trigger Jenkins Execution"

From OpenMBD
< CI
Jump to: navigation, search
(Created page with "{{CI}} == Jenkins build triggers == Each Jenkins project can be triggered by several mechanism. The simplest one is time-triggered, which will execute the project periodica...")
 
 
Line 14: Line 14:
 
<li> Build periodically </li>
 
<li> Build periodically </li>
 
<li> Poll SCM </li>
 
<li> Poll SCM </li>
<ul>
+
</ul>
 
 
  
  
Line 21: Line 20:
  
  
 +
The advantage of using a nightly build is that each morning the results will be waiting for you in your mailbox. If someone broke the build everybody is up to speed first thing in the morning. The only drawback is that the developer who broke the build isn't notified immediately after his/her commit. To get (almost) immediate feedback about your commit a post commit-hook could be used. To use a post commit-hook the option "Poll SCM" has to be used.
  
The advantage of using a nightly build is that each morning the results will be waiting for you in your mailbox. If someone broke the build everybody is up to speed first thing in the morning. The only drawback is that the developer who broke the build isn't notified immediately after his/her commit. To get (almost) immediate feedback about your commit a post commit-hook could be used. To use a post commit-hook the option "Poll SCM" has to be used.
 
 
[https://wiki.jenkins.io/display/JENKINS/Subversion+Plugin More information about Post Commit Hooks can be found here].
 
[https://wiki.jenkins.io/display/JENKINS/Subversion+Plugin More information about Post Commit Hooks can be found here].

Latest revision as of 13:24, 16 April 2018


Back to Home


Jenkins build triggers

Each Jenkins project can be triggered by several mechanism. The simplest one is time-triggered, which will execute the project periodically.


Jenkins has by default the following options:

  • Trigger builds remotely (e.g., from scripts)
  • Build after other projects are built
  • Build periodically
  • Poll SCM


The HANtune project is being built periodically, namely each night between 12:00 and 7:00. This is also called a "nightly build".


The advantage of using a nightly build is that each morning the results will be waiting for you in your mailbox. If someone broke the build everybody is up to speed first thing in the morning. The only drawback is that the developer who broke the build isn't notified immediately after his/her commit. To get (almost) immediate feedback about your commit a post commit-hook could be used. To use a post commit-hook the option "Poll SCM" has to be used.

More information about Post Commit Hooks can be found here.