Jenkins: Deploy to Nexus 3

This commit is contained in:
Johannes Schnatterer 2018-07-24 16:25:15 +02:00
parent 6efb656930
commit e410409931

4
Jenkinsfile vendored
View file

@ -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')
}