diff --git a/Jenkinsfile b/Jenkinsfile index e208655..f4b1097 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,14 +2,12 @@ properties( [ - string(name: 'Name', defaultValue: 'denes'), - string(name: 'Age', defaultValue: '34') + booleanParam(defaultValue: true, description: '', name: 'userFlag') ] ) node('master') { stage('Print params') { - sh "echo "${params.Name}" - sh "echo "${params.Age}" + echo "flag: ${params.userFlag}" } }