Skip to content

Commit

Permalink
moved user confirmation to in front of the system deletion (#4994)
Browse files Browse the repository at this point in the history
Co-authored-by: Ran Li <[email protected]>
  • Loading branch information
ranliii and Ran Li authored Jul 24, 2024
1 parent a564a12 commit e6d4f40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vars/abapEnvironmentPipelineStageIntegrationTests.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ void call(Map parameters = [:]) {
echo "Deployment test of add-on product failed."
throw e
} finally {
if (config.confirmDeletion) {
input message: "Deployment test has been executed. Once you proceed, the test system will be deleted."
}

if (!config.debug) {
cloudFoundryDeleteService script: parameters.script
}
Expand All @@ -67,9 +71,5 @@ void call(Map parameters = [:]) {
e = new Error('Unsupoorted integration test option.')
throw e
}

if (config.confirmDeletion) {
input message: "Deployment test has been executed. Once you proceed, the test system will be deleted."
}
}
}

0 comments on commit e6d4f40

Please sign in to comment.