Skip to content

Instantly share code, notes, and snippets.

@rjyo
Last active December 27, 2015 17:49
Show Gist options
  • Save rjyo/8ea53fefd5bfbedb2d4e to your computer and use it in GitHub Desktop.
Save rjyo/8ea53fefd5bfbedb2d4e to your computer and use it in GitHub Desktop.
#!/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