Skip to content

Instantly share code, notes, and snippets.

@visitbethel
Last active February 2, 2017 17:37
Show Gist options
  • Save visitbethel/c5e36974c442916150a27f00168d2ec0 to your computer and use it in GitHub Desktop.
Save visitbethel/c5e36974c442916150a27f00168d2ec0 to your computer and use it in GitHub Desktop.
Jenkins Pipeline Scheduling
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