Last active
March 5, 2017 20:00
-
-
Save everlof/3cfa5210c82a08f23e25fe93c5076a86 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 | |
set -x | |
curl -v -XPUT -d "{ | |
\"workflow_id\": \"${BITRISE_TRIGGERED_WORKFLOW_ID}\", | |
\"workflow_title\": \"${BITRISE_TRIGGERED_WORKFLOW_TITLE}\", | |
\"pr\": \"${PR}\", | |
\"build_url\": \"${BITRISE_BUILD_URL}\", | |
\"build_slug\": \"${BITRISE_BUILD_SLUG}\", | |
\"triggered\": \"${BITRISE_BUILD_TRIGGER_TIMESTAMP}\", | |
\"git_url\": \"${GIT_REPOSITORY_URL}\", | |
\"git_branch\": \"${BITRISE_GIT_BRANCH}\", | |
\"git_tag\": \"${BITRISE_GIT_TAG}\", | |
\"git_commit\": \"${BITRISE_GIT_COMMIT}\", | |
\"git_message\": \"${BITRISE_GIT_MESSAGE}\", | |
\"pr_id\": \"${BITRISE_PULL_REQUEST}\", | |
\"install_url\": \"${BITRISE_PUBLIC_INSTALL_PAGE_URL}\" | |
}" "https://cistern-d7a9b.firebaseio.com/app/${BITRISE_APP_SLUG}/build/${BITRISE_BUILD_NUMBER}.json" | |
set +x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment