Created
April 28, 2019 20:03
-
-
Save avielb/831633b4c2dc42f6672d050c7c030fc4 to your computer and use it in GitHub Desktop.
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([parameters([string(defaultValue: 'default value', description: '', name: 'VAR1', trim: false)]), | |
pipelineTriggers([pollSCM('*/2 * * * *')])]) | |
pipeline { | |
agent any | |
stages { | |
stage("checkout"){ | |
steps{ | |
git "https://github.com/avielb/work-with-github.git" | |
} | |
} | |
stage("run something"){ | |
steps{ | |
echo "value is: ${params.VAR1}" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment