summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhoujinchuan <[email protected]>2024-07-10 18:08:30 +0800
committerhoujinchuan <[email protected]>2024-07-10 18:08:30 +0800
commit72c661934ba25292a24e0fa4eaf4ca3fdefd160c (patch)
tree7e8999d9af238cfc092bd3a886f8506d3857e55b
parent572d7037a9ee7a33b85d1b050dd10ea85f74bd04 (diff)
修改.gitlab-ci.yml pom文件
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--pom.xml11
2 files changed, 12 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 05ed193..3e31b1f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@ test:
script:
- mvn $MAVEN_CLI_OPTS clean test
only:
- - merge_requests
+ - develop
- tags
# 构建。一般用于构建 develop 分支上的 snapshot 版本。
diff --git a/pom.xml b/pom.xml
index ebed24f..4dce002 100644
--- a/pom.xml
+++ b/pom.xml
@@ -383,6 +383,17 @@
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>3.6.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.12.1</version>
+ </plugin>
</plugins>
</build>
</project> \ No newline at end of file