mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Pass branch name to dependent build
This commit is contained in:
@@ -7,10 +7,6 @@
|
||||
# - ./trigger-dependent-build
|
||||
#
|
||||
|
||||
# An authorization token generated by running:
|
||||
# gem install travis
|
||||
# travis login
|
||||
# travis token
|
||||
#
|
||||
echo "Triggering dependent build for $TRAVIS_BRANCH"
|
||||
|
||||
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