This commit is contained in:
Semyon Bezrukov 2024-09-11 17:48:29 +03:00
parent 74276d0c45
commit bbe929fce2

2
Jenkinsfile vendored
View File

@ -373,7 +373,7 @@ def protectBranch(String repo, String branch) {
label: "${repo}: protect ${branch}",
script: """
echo '{
"branch_name": "master"
"branch_name": "${branch}"
}' | \
curl -s -X 'POST' \
'https://'"\$GIT_SERVER"'/api/v1/repos/${repo}/branch_protections' \