gitlab-ci - 重试时传递的管道失败

loading...


0

我在docker上执行gitlab-runner并且管道曾经工作过 . 但是,当我重试它时,我会致命:

Cloning into '/my/project'...
Cloning repository for katalon-test with git depth set to 5...
Checking out a8e539b8 as katalon-test...
fatal: reference is not a tree: a8e539b8b255c450369dcda8264e062ecbf2fcdb

我没有改变什么,后来的改变不应该影响老年人,对吗?我的.gitlab-ci.yml配置如下:

variables:
  DOCKER_DRIVER: overlay
  DOCKER_HOST: tcp://localhost:1234
  GIT_DEPTH: 5

stages:
  - katalon_test

katalon.test:
  tags:
    - docker
  when: on_success
  image: katalon-studio/docker-images
  stage: katalon_test
  script:
    - echo "Starting Katalon Studio"
    - report_dir=/root/report
    - mkdir -p $report_dir
    - $KATALON_BASE_ROOT_DIR/scripts/xvfb.sh start
    - $KATALON_KATALON_INSTALL_DIR/katalon -runMode=console -reportFolder=$report_dir -projectPath="$CI_PROJECT_DIR/Katalon/Katalon.prj" -retry=0 -testSuitePath="Test Suites/simple test case" -executionProfile="staging" -browserType="Chrome"

任何建议都将受到高度赞赏 .

loading...

0回答

No Data

评论

暂时没有评论!