This commit is contained in:
Semyon Bezrukov 2024-09-11 16:40:06 +03:00
parent 6d6904950e
commit e23714bdc7

2
Jenkinsfile vendored
View File

@ -394,7 +394,7 @@ def unprotectBranch(String repo, String branch) {
'https://\$GIT_SERVER/api/v1/repos/${repo}/branch_protections/${branch}?token=\$GITEA_TOKEN' \
-H 'accept: application/json' \
-H 'Authorization: \$GITEA_TOKEN'
"""
""",
returnStatus: true
) == 0
}