Skip to content

Instantly share code, notes, and snippets.

@bbl
Created September 24, 2019 07:37
Show Gist options
  • Save bbl/cd04aff644d870cdde9abe037140bcdb to your computer and use it in GitHub Desktop.
Save bbl/cd04aff644d870cdde9abe037140bcdb to your computer and use it in GitHub Desktop.
Jenkins scripted pipeline: cron trigger
node {
properties ([pipelineTriggers([cron('0 0 * * *')])])
stage('Clone repositories') {
sh 'echo test'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment