Skip to content

Commit e542483

Browse files
committed
resolved path error
1 parent aca8ff0 commit e542483

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
@@ -32,7 +32,7 @@ pipeline {
3232

3333
stage('Plan') {
3434
steps {
35-
sh 'pwd;ls ; terraform init -input=false'
35+
sh 'pwd;cd terraform/aws-instance-first-script ; terraform init -input=false'
3636
// sh 'terraform workspace new ${environment}'
3737
sh 'terraform workspace select ${environment};pwd;ls'
3838
sh "pwd;cd terraform/aws-instance-first-script ;terraform plan -input=false -out tfplan ;pwd;ls"

0 commit comments

Comments
 (0)