=scr silence curl on jenkins, no need for progress bars
This commit is contained in:
parent
08dc0a8f19
commit
9bba4f88fe
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue