Community Center | Not monitored
Tag not monitored by Microsoft.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
質問は2点です。
実現したいことは複数ブランチの実行スケジュールの一括管理です。
例えばブランチとして「schedule_main」を作成し、そのブランチ中のyamlファイルに下記のように記述するようなイメージです。
前提としてother_project1とother_project2にschedulesの記述は無い状態です。
ただ、恐らく下記の書き方では期待する動作(other_project1とother_project2のスケジュール設定がされる)とはならない認識です。
それは「https://learn.microsoft.com/ja-jp/azure/devops/pipelines/process/scheduled-triggers?view=azure-devops&tabs=yaml」における「release」ブランチと同様の状態のように見えるからです。
ただ、同ドキュメント上でincludeには「which branches the schedule applies to」という説明文があり、
この属性で複数ブランチに対する実行制御が行えるようにも読み取れるため、記載の意図を確認したいです。
schedules:
- cron: "00 00 00 00 *"
branches:
include:
- other_project1
- other_project2
always: true
Tag not monitored by Microsoft.