Last active
December 27, 2015 17:49
-
-
Save rjyo/8ea53fefd5bfbedb2d4e 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
#!/bin/bash | |
if [ -n $BITRISE_XCODE_TEST_RESULT ] | |
then | |
if [ $BITRISE_XCODE_TEST_RESULT == "succeeded" ] | |
then | |
export BITBUCKET_STATUS="SUCCESSFUL" | |
echo "SUCCESSFUL" | |
else | |
export BITBUCKET_STATUS="FAILED" | |
echo "FAILED" | |
fi | |
else | |
export BITBUCKET_STATUS="FAILED" | |
echo -e "BITRISE_XCODE_TEST_RESULT not set\n" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment