silence curl output
This commit is contained in:
parent
51d864512f
commit
db62df1090
@ -87,7 +87,7 @@ if [ $PROCESSORG ] ; then
|
|||||||
# get a list of repositories in the source organisation
|
# get a list of repositories in the source organisation
|
||||||
for page in {1..10} ; do
|
for page in {1..10} ; do
|
||||||
if [ $DEBUG ] ; then echo "getting page $page of repos from $GITHOST $PROCESSORG" ; fi
|
if [ $DEBUG ] ; then echo "getting page $page of repos from $GITHOST $PROCESSORG" ; fi
|
||||||
RESPONSE=$(curl $curlsilent -X 'GET' \
|
RESPONSE=$(curl -s -X 'GET' \
|
||||||
"$GITEAHOST/api/v1/orgs/$PROCESSORG/repos?page=$page" \
|
"$GITEAHOST/api/v1/orgs/$PROCESSORG/repos?page=$page" \
|
||||||
-H 'accept: application/json' \
|
-H 'accept: application/json' \
|
||||||
-H "Authorization: token $ACCESSTOKEN"
|
-H "Authorization: token $ACCESSTOKEN"
|
||||||
|
Loading…
Reference in New Issue
Block a user