mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Add trigger dependent build and slack notification
This commit is contained in:
10
scripts/trigger-dependent-build.sh
Normal file
10
scripts/trigger-dependent-build.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash -x
|
||||
|
||||
# This script lives in each of the upstream repos. Add this to .travis.yml to
|
||||
# run after each successful build (assuming that the script is in the root of
|
||||
# the repo):
|
||||
# after_success:
|
||||
# - ./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%2Fnotify-functional-tests/requests
|
||||
Reference in New Issue
Block a user