There was an error while loading. Please reload this page.
1 parent e542483 commit 496c6f7Copy full SHA for 496c6f7
aws-instance-first-script/Jenkinsfile
@@ -34,7 +34,7 @@ pipeline {
34
steps {
35
sh 'pwd;cd terraform/aws-instance-first-script ; terraform init -input=false'
36
// sh 'terraform workspace new ${environment}'
37
- sh 'terraform workspace select ${environment};pwd;ls'
+ 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"
39
sh 'pwd;cd terraform/aws-instance-first-script ;terraform show -no-color tfplan > tfplan.txt'
40
}
0 commit comments