나는 분기 은닉 /의 Bitbucket 서버 모델 (숨김 v3.11.2,의 Bitbucket 4.8.3, 내가 다른 버전을 테스트하지 않은)를 setupo 할 수있었습니다
를 (누군가를 도울 수있는 경우) : curl -s -u USER:PASSWORD
(및 -k
--noproxy
같은 몇 가지 다른 옵션 ...)
$SERVER
: URL을
$CURL
와
$CURL -X PUT -H 'Content-Type: application/json' \
-d '{"development":{"refId":"refs/heads/develop", "useDefault":false}, \
"production":{"refId":"refs/heads/master","useDefault":false}, \
"types":[ \
{"id":"BUGFIX","displayName":"Bugfix","enabled":true,"prefix":"bugfix/"}, \
{"id":"FEATURE","displayName":"Feature","enabled":true,"prefix":"feature/"}, \
{"id":"HOTFIX","displayName":"Hotfix","enabled":true,"prefix":"hotfixme/"}, \
{"id":"RELEASE","displayName":"Release","enabled":true,"prefix":"release/"} \
]}' \
${SERVER}/rest/branch-utils/1.0/projects/$key/repos/$slug/branchmodel/configuration
$slug
주요 프로젝트 : 저장소
희망이 도움의 슬러그 (~ 이름) ...
건배 서버
$key
합니다.
정보 주셔서 감사합니다. 불행히도, 업그레이드 결정은 내 손안에 있지 않습니다 (비록 내가 그것을 추진하고 있지만). – elbeho