From 12453ac3891034dbdf8642b4b7ddc6d14ad04420 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Wed, 3 Feb 2021 13:06:53 +0100 Subject: [PATCH] OZG-200 deploy to nexus --- Jenkinsfile | 4 +++- goofy-client/pom.xml | 8 -------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 496aa21b7d..b22f426c63 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -151,7 +151,9 @@ pipeline { FAILED_STAGE = env.STAGE_NAME } container('maven-11') { - sh 'mvn -pl -goofy-client -DskipTests deploy' + configFileProvider([configFile(fileId: '9aac2fac-7d8d-4128-846b-0a61951df703', variable: 'MAVEN_SETTINGS')]) { + sh 'mvn -s $MAVEN_SETTINGS -pl -goofy-client -DskipTests deploy' + } } } } diff --git a/goofy-client/pom.xml b/goofy-client/pom.xml index a5e18603df..cb70c79942 100644 --- a/goofy-client/pom.xml +++ b/goofy-client/pom.xml @@ -72,14 +72,6 @@ </plugins> </build> - <repositories> - <repository> - <id>ozg-nexus</id> - <name>ozg nexus</name> - <url>https://nexus.ozg-sh.de/repository/ozg-group/</url> - </repository> - </repositories> - <profiles> <profile> <activation> -- GitLab