try2
jenkinsfiles_play/master This commit looks good
Details
jenkinsfiles_play/master This commit looks good
Details
parent
50e2d5d7e7
commit
d4d75c3ca8
@ -1,13 +1,17 @@
|
|||||||
#!/usr/bin/env groovy
|
#!/usr/bin/env groovy
|
||||||
|
|
||||||
properties(
|
properties([
|
||||||
[
|
parameters([
|
||||||
booleanParam(defaultValue: true, description: '', name: 'userFlag')
|
booleanParam(defaultValue: false, description: 'dog', name: 'cat'),
|
||||||
]
|
string(defaultValue: 'lisa', description: 'uninteresting', name: 'name', trim: false)
|
||||||
)
|
])
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
node('master') {
|
node('master') {
|
||||||
stage('Print params') {
|
stage('Print params') {
|
||||||
echo "flag: ${params.userFlag}"
|
echo "flag: ${params.cat}"
|
||||||
|
echo "flag: ${params.name}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue