Formalize the pipeline parameters.

This commit is contained in:
Manuele Simi 2019-05-28 09:38:19 -04:00
parent 080982a72a
commit 1114841feb
1 changed files with 6 additions and 0 deletions

6
Jenkinsfile vendored
View File

@ -1,3 +1,9 @@
parameters {
choice(choices: ['SNAPSHOT', 'RELEASE'],
description: 'The type of artifacts the build is expected to generate',
name: 'Type')
}
node {
stage('build core components') {
echo "will deploy artifacts of type: ${params.Type}"