-
Task
-
Resolution: Unresolved
-
Minor
-
None
-
Dev
stage('ApprovalStep'){stage('ApprovalStep'){
when
}
steps{
script{
def IS_APPROVED = input(
message: "Approve Deployment?"
ok: "Deploy"
submitter: "user1,user2,user3"
parameters [ string(name: 'IS_APPROVED', defaultValue: 'Deploy', description: 'Deploy to master?')
]
if((params.Selected_Env)=='master')
{
echo 'Production'
echo " workspace ${PWD}"
sh "${run_cmd} ${run_cmd_option} ${run_cmd_option_mule} -P arm -Dmule.version=${run_mule_version_prod_01_val} -Dtarget=${run_target_prod_01} -Dtarget.type=${run_target_value_01} -Dusername=${deploy_un} -Dpassword=${deploy_un_pwd} -Denvironment=Prod" } )
if (IS_APPROVED != 'Deploy')
} } }