Gitlab Community Edition Instance

Commit 37ba47e9 authored by mhellka's avatar mhellka
Browse files

Drop Java 8 from gitlab-ci

parent 8a8e4a7e
Pipeline #216811 failed with stages
in 3 minutes and 2 seconds
......@@ -14,17 +14,17 @@ stages:
- test
- deploy
test-jdk8:
test-java-11:
stage: test
image: maven:3-jdk-8
image: maven:3-jdk-11
script:
- useradd -m notroot
- chown -R notroot:notroot .
- su notroot -c "$MVN clean test verify"
test-jdk11:
test-java-latest:
stage: test
image: maven:3-jdk-11
image: maven:latest
script:
- useradd -m notroot
- chown -R notroot:notroot .
......@@ -32,7 +32,7 @@ test-jdk11:
deploy-docker-release:
stage: deploy
image: maven:3-jdk-8
image: maven:3-jdk-11
script:
- $MVN -pl cdstar-cli -am -DskipTests=true install
- $MVN -pl cdstar-cli jib:build -Djib.to.image=$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_JOB_TOKEN
......@@ -41,7 +41,7 @@ deploy-docker-release:
deploy-docker-latest:
stage: deploy
image: maven:3-jdk-8
image: maven:3-jdk-11
script:
- $MVN -pl cdstar-cli -am -DskipTests=true install
- $MVN -pl cdstar-cli jib:build -Djib.to.image=$CI_REGISTRY_IMAGE:latest -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_JOB_TOKEN
......@@ -50,7 +50,7 @@ deploy-docker-latest:
deploy-nexus:
stage: deploy
image: maven:3-jdk-8
image: maven:3-jdk-11
script:
- echo '<settings><servers><server><id>gwdg-nexus</id><username>${env.MAVEN_DEPLOY_USER}</username><password>${env.MAVEN_DEPLOY_PASSWORD}</password></server></servers></settings>' > ci-settings.xml
- $MVN -s ci-settings.xml clean jar:test-jar source:jar javadoc:jar deploy -DdeployAtEnd=true -DskipTests=true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment