From fc1345acdf6754a534cccd50d05e8c6ba48b3afe Mon Sep 17 00:00:00 2001 From: Adam Shimali Date: Tue, 10 May 2016 12:39:35 +0100 Subject: [PATCH] Trigger dependent build for preview --- scripts/trigger-dependent-build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/trigger-dependent-build.sh b/scripts/trigger-dependent-build.sh index 7dee89d50..cf1405dfe 100755 --- a/scripts/trigger-dependent-build.sh +++ b/scripts/trigger-dependent-build.sh @@ -13,5 +13,4 @@ # 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"}}' 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=preview"]}}}}' https://api.travis-ci.org/repo/alphagov%2Fnotifications-functional-tests/requests