Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
Updates the CI to use Java 16.
Browse files Browse the repository at this point in the history
  • Loading branch information
andyHa committed Jun 15, 2021
1 parent d1c030b commit 38ed94f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ platform:
arch: amd64

clone:
depth: 1
depth: 100

steps:
- name: compile
image: scireum/sirius-build
image: hub.scireum.com/scireum/sirius-build-jdk16:latest
commands:
- mvn clean compile
volumes: *scireum_volumes
Expand All @@ -26,7 +26,7 @@ steps:
- push

- name: test
image: scireum/sirius-build
image: hub.scireum.com/scireum/sirius-build-jdk16:latest
commands:
- mvn clean test
volumes: *scireum_volumes
Expand All @@ -35,7 +35,7 @@ steps:
- pull_request

- name: sonar
image: scireum/sirius-build
image: hub.scireum.com/scireum/sirius-build-jdk16:latest
commands:
- sed -i 's/DEVELOPMENT-SNAPSHOT/${DRONE_TAG}/g' pom.xml
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent test sonar:sonar -Dsonar.projectKey=${DRONE_REPO_NAME}
Expand All @@ -45,7 +45,7 @@ steps:
- tag

- name: deploy
image: scireum/sirius-build
image: hub.scireum.com/scireum/sirius-build-jdk16:latest
commands:
- sed -i 's/DEVELOPMENT-SNAPSHOT/${DRONE_TAG}/g' pom.xml
- mvn clean deploy -DskipTests
Expand Down

0 comments on commit 38ed94f

Please sign in to comment.