Files
netdisco/docker/netdisco-base/hooks/post_push
2018-01-13 09:37:12 +00:00

5 lines
198 B
Bash
Executable File

#!/bin/bash
for url in $(echo $BUILD_TRIGGERS | sed "s/,/ /g"); do
curl -sL -X POST -H "Content-Type: application/json" --data "{ \"build\": true, \"source_name\": \"$SOURCE_BRANCH\" }" $url
done