Skip to content

Commit fb80162

Browse files
author
lerndevops
authored
Update CICD.gvy
1 parent 58586ff commit fb80162

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

CICD.gvy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ pipeline {
6767
}
6868
stage('deploy-QA') {
6969
steps {
70-
sh script: 'cd $WORKSPACE/deploy'
71-
sh script: 'sudo ansible-playbook --inventory /tmp/myinv deploy-kube.yml --extra-vars "env=qa build=$BUILD_NUMBER"'
70+
sh script: 'sudo ansible-playbook --inventory /tmp/myinv $WORKSPACE/deploy/deploy-kube.yml --extra-vars "env=qa build=$BUILD_NUMBER"'
7271
}
7372
}
7473
}

0 commit comments

Comments
 (0)