update jdk and deps-ckeck plugin
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
10
.drone.yml
10
.drone.yml
@@ -15,25 +15,25 @@ trigger:
|
||||
steps:
|
||||
# test if it compiles correctly
|
||||
- name: build
|
||||
image: maven:3-eclipse-temurin-16
|
||||
image: maven:3-eclipse-temurin-21
|
||||
commands:
|
||||
- mvn verify --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
|
||||
# run unit tests
|
||||
- name: test
|
||||
image: maven:3-eclipse-temurin-16
|
||||
image: maven:3-eclipse-temurin-21
|
||||
commands:
|
||||
- mvn test --no-transfer-progress -B -V
|
||||
|
||||
# check maven dependencies
|
||||
- name: dependency-check
|
||||
image: maven:3-eclipse-temurin-16
|
||||
image: maven:3-eclipse-temurin-21
|
||||
commands:
|
||||
- mvn dependency-check:check --no-transfer-progress -B -V
|
||||
|
||||
# run code analysis
|
||||
- name: code-analysis
|
||||
image: maven:3-eclipse-temurin-16
|
||||
image: maven:3-eclipse-temurin-21
|
||||
commands:
|
||||
- mvn sonar:sonar --no-transfer-progress -Dsonar.projectKey=$SONAR_PROJECT_KEY -Dsonar.host.url=$SONAR_INSTANCE_URL -Dsonar.login=$SONAR_LOGIN_KEY -B -V
|
||||
environment:
|
||||
@@ -64,7 +64,7 @@ steps:
|
||||
|
||||
# upload to maven repository
|
||||
- name: maven-deploy
|
||||
image: maven:3-eclipse-temurin-16
|
||||
image: maven:3-eclipse-temurin-21
|
||||
commands:
|
||||
- mvn deploy --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V -gs settings.xml -Dmaven.repo.username=$MAVEN_REPO_USERNAME -Dmaven.repo.password=$MAVEN_REPO_PASSWORD
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user