Skip to content

Commit 4c7ce4e

Browse files
author
Gustavo Muniz do Carmo
committed
trigger jenkins role build
1 parent 8986972 commit 4c7ce4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ after_script:
2727
- docker rm xenial bionic
2828

2929
after_success:
30-
- curl -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Travis-API-Version: 3" -H "Authorization: token $TRAVIS_API_TOKEN" -d "{\"request\": {\"branch\":\"master\"}}" https://api.travis-ci.org/repo/codeyourinfra%2Fjenkins/requests
30+
- curl -LO https://raw.github.com/stephanmg/travis-dependent-builds/master/trigger.sh
31+
- chmod +x trigger.sh
32+
- ./trigger.sh codeyourinfra jenkins master $TRAVIS_API_TOKEN
3133

3234
notifications:
3335
webhooks: https://galaxy.ansible.com/api/v1/notifications/

0 commit comments

Comments
 (0)