如何在Gitlab中为Java设置代码质量插件?
我有一个简单的Maven项目,不使用Docker或任何东西 不太熟悉Gitlab 在.gitlab-ci.yml中,我添加了以下内容:如何在Gitlab中为Java设置代码质量插件?,gitlab,gitlab-ci-runner,Gitlab,Gitlab Ci Runner,我有一个简单的Maven项目,不使用Docker或任何东西 不太熟悉Gitlab 在.gitlab-ci.yml中,我添加了以下内容: include: - template: Code-Quality.gitlab-ci.yml <----- This one code_quality: artifacts: paths: [gl-code-quality-report.json] <----- This one stages: - test -
include:
- template: Code-Quality.gitlab-ci.yml <----- This one
code_quality:
artifacts:
paths: [gl-code-quality-report.json] <----- This one
stages:
- test
- publish
- deploy
- manual
# Test all commits regardles of branch in a WildFly 10 instance
test:wf10:
stage: test
script:
- mvn clean test -U -Dprofile.wildfly10 -Dwildfly10.servergroup=masterdata-batch
tags:
- test
包括:
-模板:Code-Quality.gitlab-ci.yml