mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
Resolve "Make engine version configurable"
This commit is contained in:
parent
94f872c752
commit
6fba84f31b
5 changed files with 81 additions and 10 deletions
|
|
@ -1,14 +1,18 @@
|
|||
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 -Dmaven.repo.local=/cache/repository -Dfile.encoding=UTF-8"
|
||||
|
||||
before_script:
|
||||
- export CI_JOB_TIMESTAMP="-Dbuild.timestamp=$(date --utc --iso-8601=seconds)"
|
||||
|
||||
|
||||
build-java-latest:
|
||||
stage: build
|
||||
image: maven:3-jdk-13
|
||||
script:
|
||||
- mvn $MAVEN_CLI_OPTS verify
|
||||
- mvn $MAVEN_CLI_OPTS $BUILD_PROPS $CI_JOB_TIMESTAMP verify
|
||||
artifacts:
|
||||
name: java-latest
|
||||
paths:
|
||||
|
|
@ -22,7 +26,7 @@ build-java-12:
|
|||
stage: build
|
||||
image: maven:3-jdk-12
|
||||
script:
|
||||
- mvn $MAVEN_CLI_OPTS verify
|
||||
- mvn $MAVEN_CLI_OPTS $BUILD_PROPS $CI_JOB_TIMESTAMP verify
|
||||
artifacts:
|
||||
name: java-12
|
||||
paths:
|
||||
|
|
@ -37,7 +41,7 @@ build-java-11:
|
|||
stage: build
|
||||
image: maven:3-jdk-11
|
||||
script:
|
||||
- mvn $MAVEN_CLI_OPTS verify
|
||||
- mvn $MAVEN_CLI_OPTS $BUILD_PROPS $CI_JOB_TIMESTAMP verify
|
||||
artifacts:
|
||||
name: java-11
|
||||
paths:
|
||||
|
|
@ -51,7 +55,7 @@ build-java8:
|
|||
stage: build
|
||||
image: maven:3-jdk-8-alpine
|
||||
script:
|
||||
- mvn $MAVEN_CLI_OPTS verify
|
||||
- mvn $MAVEN_CLI_OPTS $BUILD_PROPS $CI_JOB_TIMESTAMP verify
|
||||
artifacts:
|
||||
name: java8
|
||||
paths:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue