Skip to content

Commit

Permalink
Only run periodic test on stable/master. (typedb#2100)
Browse files Browse the repository at this point in the history
  • Loading branch information
burukuru authored and fppt committed Sep 15, 2017
1 parent ee04ce6 commit fb2508d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!groovy
//This sets properties in the Jenkins server. In this case run every 8 hours
properties([pipelineTriggers([cron('H H/8 * * *')])])
if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME == 'stable') {
properties([pipelineTriggers([cron('H H/8 * * *')])])
}
node {
//Everything is wrapped in a try catch so we can handle any test failures
//If one test fails then all the others will stop. I.e. we fail fast
Expand Down

0 comments on commit fb2508d

Please sign in to comment.