mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
Jenkins: Deploy to Nexus 3
This commit is contained in:
parent
6efb656930
commit
e410409931
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -1,5 +1,5 @@
|
|||
#!groovy
|
||||
@Library('github.com/cloudogu/ces-build-lib@68e7f52')
|
||||
@Library('github.com/cloudogu/ces-build-lib@24c4f03')
|
||||
import com.cloudogu.ces.cesbuildlib.*
|
||||
|
||||
properties([
|
||||
|
@ -49,7 +49,7 @@ node {
|
|||
}
|
||||
|
||||
stage('Deploy Artifacts') {
|
||||
mvn.setDeploymentRepository(cesFqdn, "${cesUrl}/nexus", credentialsId)
|
||||
mvn.useDeploymentRepository([id: cesFqdn, url: "${cesUrl}/nexus", credentialsId: credentialsId, type: 'Nexus3'])
|
||||
|
||||
mvn.deployToNexusRepository('-Dmaven.javadoc.failOnError=false')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue