|
|
@ -1,5 +1,3 @@
|
|
|
|
image: maven:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
variables:
|
|
|
|
variables:
|
|
|
|
MAVEN_CLI_OPTS: "--batch-mode"
|
|
|
|
MAVEN_CLI_OPTS: "--batch-mode"
|
|
|
|
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
|
|
|
|
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
|
|
|
@ -12,7 +10,6 @@ cache:
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- 'mvn $MAVEN_CLI_OPTS test-compile'
|
|
|
|
|
|
|
|
- mvn $MAVEN_CLI_OPTS clean install
|
|
|
|
- mvn $MAVEN_CLI_OPTS clean install
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- OracleJDK1.8
|
|
|
|
- OracleJDK1.8
|