Commit 1052d94b by Feanil Patel

Merge pull request #1945 from edx/feanil/improve_ci

The short circuit logic does not work on jenkins.
parents 20f7193c 144b214b
......@@ -25,7 +25,9 @@ export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto
run_ansible() {
ansible-playbook $@
ret=$?
[ $ret -ne 0 ] && exit $ret
if [[ $ret -ne 0 ]]; then
exit $ret
fi
}
# This DATE_TIME will be used as instance launch time tag
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment