mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 10:42:41 -05:00
Pass branch name to dependent build
This commit is contained in:
@@ -7,10 +7,6 @@
|
|||||||
# - ./trigger-dependent-build
|
# - ./trigger-dependent-build
|
||||||
#
|
#
|
||||||
|
|
||||||
# An authorization token generated by running:
|
echo "Triggering dependent build for $TRAVIS_BRANCH"
|
||||||
# gem install travis
|
|
||||||
# travis login
|
|
||||||
# travis token
|
|
||||||
#
|
|
||||||
|
|
||||||
curl -vvv -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Travis-API-Version: 3" -H "Authorization: token $auth_token" -d '{"request":{"branch":"master","config":{"env":{"global":["ENVIRONMENT=preview"]}}}}' https://api.travis-ci.org/repo/alphagov%2Fnotifications-functional-tests/requests
|
curl -vvv -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Travis-API-Version: 3" -H "Authorization: token $auth_token" -d '{"request":{"branch":"master","config":{"env":{"global":["ENVIRONMENT='$TRAVIS_BRANCH'"]}}}}' https://api.travis-ci.org/repo/alphagov%2Fnotifications-functional-tests/requests
|
||||||
|
|||||||
Reference in New Issue
Block a user