From e41040993182bbbbb75f2685f7bcb3c9dece68fa Mon Sep 17 00:00:00 2001 From: Johannes Schnatterer Date: Tue, 24 Jul 2018 16:25:15 +0200 Subject: [PATCH] Jenkins: Deploy to Nexus 3 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a1ca529b7..c0c8af831 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') }