遇到天蓝色管道问题:
Unable to resolve the reference 'refs/heads/main' to a specific version. Verify the reference exists in the source repository.
最近我们将默认分支从 main 更改为 master。该仓库甚至没有主分支。管道也不会触发 main。
管道:
resources:
pipelines:
- pipeline: uipipeline
source: somesourceA
trigger:
branches:
include:
- develop
- pipeline: backendpipeline
source: somesourceB
trigger:
branches:
include:
- master
回购中的分支:
尝试过的事情:
检查了 YAML 触发器设置。它设置为“master”