Formalize the pipeline parameters.
This commit is contained in:
parent
080982a72a
commit
1114841feb
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue