Skip to content

Commit b1af833

Browse files
committed
bug fix
1 parent 2346d1c commit b1af833

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aws-instance-first-script/Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ pipeline {
3333
stage('Plan') {
3434
steps {
3535
sh 'pwd;cd terraform/aws-instance-first-script ; terraform init -input=false'
36-
sh 'terraform workspace new ${environment}'
37-
sh 'pwd;cd terraform/aws-instance-first-script ; terraform workspace select ${environment};pwd;ls'
38-
sh "pwd;cd terraform/aws-instance-first-script ;terraform plan -input=false -out tfplan ;pwd;ls"
36+
sh 'pwd;cd terraform/aws-instance-first-script ; terraform workspace new ${environment}'
37+
sh 'pwd;cd terraform/aws-instance-first-script ; terraform workspace select ${environment}'
38+
sh "pwd;cd terraform/aws-instance-first-script ;terraform plan -input=false -out tfplan "
3939
sh 'pwd;cd terraform/aws-instance-first-script ;terraform show -no-color tfplan > tfplan.txt'
4040
}
4141
}

0 commit comments

Comments
 (0)