gitlab 中的触发管道失败-ci
trigger pipeline fails in gitlab-ci
正在尝试触发另一个项目中的管道。
trigger job:
stage: triggers
needs: [test_01]
trigger:
include:
- project: voodoo212/ourlordandsavior
file: .gitlab-ci.yml
# strategy: depend
远程管道 运行 在单独 运行 时很好,但在从另一个管道触发时失败。
我在这里缺少什么吗?触发的管道确实开始 运行ning 但似乎与我在未传递缓存路径时遇到的错误相同
$ ./configure.sh
/bin/bash: line 114: ./configure.sh: No such file or directory
You can trigger it through API
script:
- curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master "https://gitlab.example.com/api/v4/projects/9/trigger/pipeline"
我刚刚意识到我的语法有误!
不需要使用 include 到 运行 它只是
trigger job:
stage: deploy
needs: [test_01]
trigger:
project: voodoo212/ourlordandsavior
strategy: depend
正在尝试触发另一个项目中的管道。
trigger job:
stage: triggers
needs: [test_01]
trigger:
include:
- project: voodoo212/ourlordandsavior
file: .gitlab-ci.yml
# strategy: depend
远程管道 运行 在单独 运行 时很好,但在从另一个管道触发时失败。 我在这里缺少什么吗?触发的管道确实开始 运行ning 但似乎与我在未传递缓存路径时遇到的错误相同
$ ./configure.sh
/bin/bash: line 114: ./configure.sh: No such file or directory
You can trigger it through API
script:
- curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master "https://gitlab.example.com/api/v4/projects/9/trigger/pipeline"
我刚刚意识到我的语法有误! 不需要使用 include 到 运行 它只是
trigger job:
stage: deploy
needs: [test_01]
trigger:
project: voodoo212/ourlordandsavior
strategy: depend