exit 1
时,管道仍显示构建成功。sh exited 1
而不是ERROR: Job failed: exit status 1
。.gitlab-ci.yml
image: d:latest
stages:
- test
run_test:
stage: test
script:
- cd src/Test
- phpunit ../Test
except:
- master
- test
答案 0 :(得分:0)
我认为这个问题后来你有sh exited 0