We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90cd5ef commit 3163dc3Copy full SHA for 3163dc3
.gitlab-ci.yml
@@ -0,0 +1,23 @@
1
+image: registry.gitlab.com/danubetech/devops/docker-maven-danubetech:latest
2
+
3
+stages:
4
+ - build
5
+ - test
6
7
+variables:
8
+ MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
9
10
+cache:
11
+ paths:
12
+ - .m2/repository/
13
+ - target/
14
15
+build:
16
+ stage: build
17
+ script:
18
+ - mvn $MAVEN_CLI_OPTS compile
19
20
+test:
21
+ stage: test
22
23
+ - mvn $MAVEN_CLI_OPTS test
0 commit comments