美文网首页
gitlab 之 爬坡 三

gitlab 之 爬坡 三

作者: cain07 | 来源:发表于2020-07-29 13:51 被阅读0次

1.同一个项目 多次提交能并行运行

* parallel 同时允许运行的job个数 看不懂 就先试一下

job2:
    stage: build 
    parallel: 5
    script:

      - echo "android build start"
      - sleep 20
      - pwd
      - echo "android build success"
    artifacts:
      paths:
       - app/build/outputs/apk/debug/*.apk
    tags:
      - tagtestone
image.png

原来是 把一个 job 运行了 5遍 反而更慢了

* 暂时没有发现 什么办法

相关文章

网友评论

      本文标题:gitlab 之 爬坡 三

      本文链接:https://www.haomeiwen.com/subject/yephrktx.html