aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 67faa30..e589dd4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,5 +1,8 @@
+String cron_string = BRANCH_NAME == "master" ? "@weekly" : ""
+
pipeline {
agent any
+ triggers { cron(cron_string) }
options { ansiColor('xterm') }
stages {
stage('Check') {