Skip to content

Commit a67ff3d

Browse files
committed
Change to the Ansible root dir before trying to do Ansible things
1 parent 5e82a34 commit a67ff3d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jenkins/google_health-jenkins-build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@ pip install .
2424
# We need to call some extra Ansible here to handle placing a special params.json
2525
# template so that our tests can complete. The below calls a small playbook that
2626
# runs locally on the build (Jenkins) server to place the file.
27+
28+
cd "${WORKSPACE}/ansible" || exit
29+
2730
ansible-playbook google_health-build.yaml \
2831
--extra-vars "indicator=${local_indicator} workspace=${WORKSPACE}" -i localhost,

0 commit comments

Comments
 (0)