mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
(chore) build image with dependencies
This commit is contained in:
parent
eda9120bce
commit
a7924517a5
2 changed files with 2 additions and 7 deletions
|
|
@ -2,16 +2,11 @@ image: maven:latest
|
|||
|
||||
variables:
|
||||
BUILD_PROPS: "-Dbuild.revision=$CI_COMMIT_SHA -Dbuild.branch=$CI_COMMIT_REF_NAME -Dbuild.number=$CI_PIPELINE_IID "
|
||||
MAVEN_CLI_OPTS: " --batch-mode -Dfile.encoding=UTF-8 -s .mvn/settings.xml -Dmaven.repo.local=.mvn/repository -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false"
|
||||
MAVEN_CLI_OPTS: " --batch-mode -Dfile.encoding=UTF-8 -s .mvn/settings.xml -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false"
|
||||
|
||||
before_script:
|
||||
- export CI_JOB_TIMESTAMP="-Dbuild.timestamp=$(date --utc --iso-8601=seconds)"
|
||||
|
||||
cache:
|
||||
key: maven
|
||||
paths:
|
||||
- .mvn/repository
|
||||
|
||||
java-11:
|
||||
stage: build
|
||||
image: $CI_REGISTRY_IMAGE/maven:3-jdk-11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue