BM3
This commit is contained in:
parent
6d6904950e
commit
e23714bdc7
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user