From c80b6492584bc112d18c5a93df2d79fe25045987 Mon Sep 17 00:00:00 2001 From: MovingToWeb Date: Fri, 19 Jul 2019 22:30:54 +0530 Subject: [PATCH] add input stage --- Jenkinsfile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 57e0181..787aa48 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,16 +23,10 @@ pipeline { stage ('Deploy?') { steps { - try { - input( - id: 'Proceed1', message: 'Proceed to Production deployment?', parameters: [ - [$class: 'BooleanParameterDefinition', defaultValue: true, description: '', name: 'Please confirm deployment'] - ]) - } - catch (Exception e) { - } - } + steps { + input('Do you want to deploy?') + } }