try2
jenkinsfiles_play/master This commit looks good Details

master
Denes Matetelki 6 years ago
parent 50e2d5d7e7
commit d4d75c3ca8

16
Jenkinsfile vendored

@ -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…
Cancel
Save