=scr silence curl on jenkins, no need for progress bars

This commit is contained in:
Konrad 'ktoso' Malawski 2014-05-23 11:12:25 +02:00
parent 08dc0a8f19
commit 9bba4f88fe

View file

@ -18,10 +18,10 @@ function ghtag {
add=$4
remove=$5
curl -H "Authorization: token $PR_VALIDATOR_GH_TOKEN" https://api.github.com/repos/$owner/$repo/issues/$issue/labels -X POST -d $add
curl -s -H "Authorization: token $PR_VALIDATOR_GH_TOKEN" https://api.github.com/repos/$owner/$repo/issues/$issue/labels -X POST -d $add
for d in $remove
do
curl -H "Authorization: token $PR_VALIDATOR_GH_TOKEN" https://api.github.com/repos/$owner/$repo/issues/$issue/labels/$d -X DELETE
curl -s -H "Authorization: token $PR_VALIDATOR_GH_TOKEN" https://api.github.com/repos/$owner/$repo/issues/$issue/labels/$d -X DELETE
done
}