GitLab管道卡在回声中

时间:2020-02-11 12:09:41

标签: gitlab-ci

我们刚刚从这个简单的.gitlab-ci.yml文件开始设置GitLab管道:

stages:
    - building
    - deployment
build:
    stage: building
    script:
        - echo "Build FINISHED!"
deploy to test1:
    stage: deployment
    dependencies:
        - build
    script:
        - echo "Deploy to test1 FINISHED!"
    when: manual
    environment:
        name: test1
        url: http://test1.com/
deploy to test2:
    stage: deployment
    dependencies:
        - build
    script:
        - echo "Deploy to test2 FINISHED!"
    when: manual
    environment:
        name: test2
        url: http://test2.com/

但是,当管道启动时,它以“ stuck”标签保持“ pending”状态。仅echo命令怎么会发生?

0 个答案:

没有答案