Update DroneCI configuration
This commit is contained in:
parent
c1e995225f
commit
db151a3f66
@ -9,14 +9,16 @@ load: yes
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|
||||||
- name: maven-auth
|
- name: maven-auth
|
||||||
image: robertstettner/drone-mvn-auth
|
image: robertstettner/drone-mvn-auth
|
||||||
pull: true
|
pull: true
|
||||||
servers:
|
servers:
|
||||||
- id: nexus-releases
|
- id: nexus-releases
|
||||||
username: ${NEXUS_USERNAME}
|
username:
|
||||||
|
from_secret: nexus_username
|
||||||
password:
|
password:
|
||||||
from_secret: ${NEXUS_PASSWORD}
|
from_secret: nexus_password
|
||||||
profiles:
|
profiles:
|
||||||
- id: default
|
- id: default
|
||||||
repositories:
|
repositories:
|
||||||
@ -35,7 +37,7 @@ steps:
|
|||||||
- name: maven-deploy
|
- name: maven-deploy
|
||||||
image: maven:3-eclipse-temurin-16
|
image: maven:3-eclipse-temurin-16
|
||||||
commands:
|
commands:
|
||||||
- mvn deploy --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
- mvn deploy --no-transfer-progress -DskipTests=true -Dmaven.javadoc.skip=true -B -V -gs settings.xml
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- promote
|
- promote
|
||||||
|
Loading…
Reference in New Issue
Block a user