在项目根目录下的 .gitlab-ci.yml文件中添加
stages:
- build
- test
/*其他配置*/
unitTest: //自定义名字
stage: test
script: //脚本 执行
- ./gradlew test //执行语句
在项目根目录下的 .gitlab-ci.yml文件中添加
stages:
- build
- test
/*其他配置*/
unitTest: //自定义名字
stage: test
script: //脚本 执行
- ./gradlew test //执行语句