Created
September 8, 2017 16:42
-
-
Save erikfloresq/2d4139f609f089388b5db57a9a99ecde to your computer and use it in GitHub Desktop.
Scripts for XcodeServer
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
PAYLOAD="{\"channel\": \"#xcodeserver\", \"username\": \"DebugBot\", \"text\": \"${XCS_BOT_NAME} finished with status: ${XCS_INTEGRATION_RESULT}\", \"icon_emoji\": \":robot_face:\"}" | |
echo $PAYLOAD | |
curl -X POST --data-urlencode "payload=${PAYLOAD}" https://hooks.slack.com/services/xxxxxx |
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
cd name_project | |
source ~/.bash_profile | |
pod install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Remember add this path in your .bash_profile
export PATH=/usr/local/bin:$PATH