0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Azure Repos の Default Branch の設定方法。Azure Pipeline の base branch でもある。

Last updated at Posted at 2024-07-04

背景

Azure Pipeline を作成する際、create a new する際に、Create a new branch for this commit を選択すると、base branch が選択出来なかった。

で、どうやるん?と思ったら、Repos の Default Branch を元にしていた為、その設定方法の記録

image.png

YAML パイプラインでのトリガーに関するブランチの考慮事項

トリガーとブランチの関係性を理解しておく必要有。

image.png

方法

  1. Repos
  2. Branches
  3. more options
  4. Set as default branch
    image.png

:star: が付けば成功

image.png

あとがき

settings とか必死に探しがち。
わかると、なるほどって感覚だけど、最初は悩む

そうはいっても、pipeline の default branch の設定箇所よりは分かりやすい :sweat:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?