【发布时间】:2019-09-27 11:11:41
【问题描述】:
我是 GitLab 的新手。我有一些测试,我想通过 CI\CD 运行它们。你能帮我配置我的.yml吗? 我应该运行 testng.xml
这是我的项目: enter image description here
我的测试路径是:src/test/java/tests/"files with tests"
我的 .yml 文件:
image: maven:3-jdk-7
build:
script: mvn install -b
【问题讨论】:
-
你应该直接打电话给
mvn test -
我正在尝试,但我的管道始终处于待处理状态。
script: mvn test
标签: maven testing automation gitlab-ci gitlab-ci-runner