This commit is contained in:
Semyon Bezrukov 2024-09-11 18:22:45 +03:00
parent 5aaad48a04
commit 7153632ac3

2
Jenkinsfile vendored
View File

@ -364,7 +364,7 @@ def printBranches(String repo) {
-H 'Authorization: '"\$GITEA_TOKEN" \
-w '%{http_code}' \
-o output.json)
test $HTTP_CODE -eq 200
test \$HTTP_CODE -eq 200
jq -r '.[] | [.name, .protected] | @tsv' output.json
""",
returnStatus: true