Skip to content

Commit

Permalink
(chore) rename jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
apenski committed May 20, 2021
1 parent 27f0f5e commit 1055866
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cache:
paths:
- .mvn/repository

build-java-11:
java-11:
stage: build
image: $CI_REGISTRY_IMAGE/maven:3-jdk-11
script:
Expand All @@ -28,7 +28,7 @@ build-java-11:
- target/surefire-reports/*.xml
- target/failsafe-reports/*.xml

build-java-11-openj9:
java-11-openj9:
stage: build
image: $CI_REGISTRY_IMAGE/maven:3-jdk-11-openj9
script:
Expand All @@ -43,7 +43,7 @@ build-java-11-openj9:
- target/surefire-reports/*.xml
- target/failsafe-reports/*.xml

build-java8:
java8:
stage: build
image: $CI_REGISTRY_IMAGE/maven:3-jdk-8
script:
Expand All @@ -58,7 +58,7 @@ build-java8:
- target/surefire-reports/*.xml
- target/failsafe-reports/*.xml

build-java-8-openj9:
java-8-openj9:
stage: build
image: $CI_REGISTRY_IMAGE/maven:3-jdk-8-openj9
script:
Expand All @@ -73,7 +73,7 @@ build-java-8-openj9:
- target/surefire-reports/*.xml
- target/failsafe-reports/*.xml

build-java-15:
java-15:
stage: build
image: $CI_REGISTRY_IMAGE/maven:3-openjdk-15
script:
Expand All @@ -89,7 +89,7 @@ build-java-15:
- target/surefire-reports/*.xml
- target/failsafe-reports/*.xml

build-java-16:
java-16:
stage: build
image: $CI_REGISTRY_IMAGE/maven:3-openjdk-16
script:
Expand All @@ -105,7 +105,7 @@ build-java-16:
- target/surefire-reports/*.xml
- target/failsafe-reports/*.xml

build-java-17:
java-17:
stage: build
image: $CI_REGISTRY_IMAGE/maven:3-openjdk-17
script:
Expand All @@ -125,7 +125,7 @@ deploy:
stage: deploy
image: $CI_REGISTRY_IMAGE/maven:3-jdk-11
dependencies:
- build-java-11
- java-11
script:
- export PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
- mvn $MAVEN_CLI_OPTS deploy:deploy-file -Dfile=target/validationtool-${PROJECT_VERSION}.zip -DgroupId=kosit -DartifactId=validator -Dclassifier="distribution" -Dversion=${PROJECT_VERSION} -Dpackaging=zip -DrepositoryId="gitlab-maven" -Durl=https://projekte.kosit.org/api/v4/projects/7/packages/maven
Expand Down

0 comments on commit 1055866

Please sign in to comment.