BM10
This commit is contained in:
parent
af650cc84a
commit
d436c80797
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -362,8 +362,8 @@ def printBranches(String repo) {
|
||||
HTTP_CODE=\$(curl -s -X 'GET' \
|
||||
'https://'"\$GIT_SERVER"'/api/v1/repos/${repo}/branches' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'Authorization: '"\$GITEA_TOKEN"
|
||||
-w '%{http_code}'
|
||||
-H 'Authorization: '"\$GITEA_TOKEN" \
|
||||
-w '%{http_code}' \
|
||||
-o output.json)
|
||||
echo \$HTTP_CODE
|
||||
cat output.json
|
||||
|
Loading…
Reference in New Issue
Block a user