fixes to curl commands
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
for url in $(echo $BUILD_TRIGGERS | sed "s/,/ /g"); do
|
||||
curl -X POST -H "Content-Type: application/json" --data "{ \"build\": true, \"source_name\": \"$SOURCE_BRANCH\" }" $url
|
||||
curl -sL -X POST -H "Content-Type: application/json" --data "{ \"build\": true, \"source_name\": \"$SOURCE_BRANCH\" }" $url
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user