There was an error while loading. Please reload this page.
1 parent b1af833 commit b63a246Copy full SHA for b63a246
aws-instance-first-script/Jenkinsfile
@@ -40,20 +40,21 @@ pipeline {
40
}
41
42
stage('Approval') {
43
- when {
44
- not {
45
- equals expected: true, actual: params.autoApprove
46
- }
47
+ when {
+ not {
+ equals expected: true, actual: params.autoApprove
+ }
48
49
- steps {
50
- script {
51
- def plan = readFile 'tfplan.txt'
+ steps {
+ script {
+ def plan = readFile 'terraform/aws-instance-first-script/tfplan.txt'
52
input message: "Do you want to apply the plan?",
53
parameters: [text(name: 'Plan', description: 'Please review the plan', defaultValue: plan)]
54
55
56
+ sh 'Approval stage'
57
58
59
stage('Apply') {
60
steps {
0 commit comments