当我将代码提交到 gitlab 项目时,我在测试阶段失败。这是我的测试阶段代码:
test:
stage: test
script:
-chmod +x gradlew
- ./gradlew check
这里是错误:
$ chmod +x gradlew
chmod: cannot access 'gradlew': No such file or directory
...
Uploading artifacts...
WARNING: build/reports/: no matching files
ERROR: No files to upload
有什么办法可以解决这个问题吗?还有一个……我如何在没有 gitlab-runner 的情况下在我的机器上本地检查 gitlab-ci.yml 或者唯一的决定是提交并检查 gitlab 本身?谢谢!