Skip to content

Commit 496c6f7

Browse files
committed
resolved path error
1 parent e542483 commit 496c6f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-instance-first-script/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pipeline {
3434
steps {
3535
sh 'pwd;cd terraform/aws-instance-first-script ; terraform init -input=false'
3636
// sh 'terraform workspace new ${environment}'
37-
sh 'terraform workspace select ${environment};pwd;ls'
37+
sh 'pwd;cd terraform/aws-instance-first-script ;terraform workspace select ${environment};pwd;ls'
3838
sh "pwd;cd terraform/aws-instance-first-script ;terraform plan -input=false -out tfplan ;pwd;ls"
3939
sh 'pwd;cd terraform/aws-instance-first-script ;terraform show -no-color tfplan > tfplan.txt'
4040
}

0 commit comments

Comments
 (0)