Created
April 20, 2020 14:22
-
-
Save wololock/508e1220ecb950d6574d07af12e35375 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!groovy | |
pipeline { | |
agent any | |
stages { | |
stage("Test") { | |
when { | |
changeRequest target: "develop", branch: /^TEST-\d+$/, comparator: 'REGEXP' | |
} | |
steps { | |
sh "printenv | sort" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment