Created
May 31, 2021 22:24
-
-
Save KyMidd/5001eba740265d64ca2255673e758e8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If all happy, return 0 exit code. Else return 1 and fail | |
if [ $job1_results = "SUCCEEDED" ] && [ $job2_results = "SUCCEEDED" ]; then | |
echo "##[section]All tests pass" | |
exit 0 | |
else | |
echo "##[error]At least one test has failed. Either your code or our tests aren't valid." | |
echo "##[error]Feel free to run the validations again" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment