From 50e2d5d7e79396325d5f68c591b423851520fe65 Mon Sep 17 00:00:00 2001 From: Denes Matetelki Date: Tue, 18 Dec 2018 13:25:51 +0100 Subject: [PATCH] simplify even more --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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}" } }