Tho*_*ini 6 gitlab gitlab-ci gitlab-ci.yml
我不明白为什么我的 Repo 的 GitLab CI Pipelines 无法运行。我有一个.gitlab-ci.yml文件并启用了该功能,但管道无法运行。另外,如果我尝试手动触发管道,我会收到以下错误。
Pipeline cannot be run.
Pipeline will not run for the selected trigger. The rules configuration prevented any jobs from being added to the pipeline.
Run Code Online (Sandbox Code Playgroud)
CI 功能已启用。
这是我的.gitlab-ci.yml文件。
Pipeline cannot be run.
Pipeline will not run for the selected trigger. The rules configuration prevented any jobs from being added to the pipeline.
Run Code Online (Sandbox Code Playgroud)
谢谢你!
Tho*_*ini 13
正如 D Malan 在评论中指出的那样,我已将运行限制在分支only内main。但分支名称实际上是master
所以我只是将规则形式更改main为master现在它正在运行
| 归档时间: |
|
| 查看次数: |
18956 次 |
| 最近记录: |