Last active
February 2, 2017 17:37
-
-
Save visitbethel/c5e36974c442916150a27f00168d2ec0 to your computer and use it in GitHub Desktop.
Jenkins Pipeline Scheduling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
properties( | |
[ | |
pipelineTriggers([cron('*/2 * * * *')]) | |
], | |
[ | |
$class : 'ParametersDefinitionProperty', | |
strategy | |
] | |
) | |
node { | |
stage 'Stage 1' | |
echo 'Hello World 1' | |
stage 'Stage 2' | |
echo 'Hello World 2' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment