(それが誰かを助けることができる場合)
私はスタッシュ/のBitbucketサーバー上の分岐モデルをsetupoすることができました(スタッシュのv3.11.2、のBitbucket 4.8.3、私は他のバージョンをテストしていません):
$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
:curl -s -u USER:PASSWORD
(-k
--noproxy
様およびいくつかの他のオプション...)
$SERVER
:URL
$slug
キープロジェクト:リポジトリ
・ホープ、このことができますのスラグ(〜名)...
乾杯サーバー
$key
へ。
ありがとうございました。残念ながら、アップグレードの決定は私の手にはない(私はそれを求めているが)。 – elbeho