From 5e73fa9a2edd78279adaf5feb0428e189021d1b2 Mon Sep 17 00:00:00 2001 From: Adam Shimali Date: Mon, 9 May 2016 12:57:21 +0100 Subject: [PATCH] Try to pass test env to run as part of trigger depdendent build --- scripts/trigger-dependent-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/trigger-dependent-build.sh b/scripts/trigger-dependent-build.sh index 1e0baf15e..d8438258f 100755 --- a/scripts/trigger-dependent-build.sh +++ b/scripts/trigger-dependent-build.sh @@ -7,4 +7,4 @@ # - ./trigger-dependent-build # -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":{"ENVIRONMENT=preview"}}}' https://api.travis-ci.org/repo/alphagov%2Fnotifications-functional-tests/requests