From 0c5c3d714c9bc4fbc28952183c40a111d319bada Mon Sep 17 00:00:00 2001 From: Torsten Friebe Date: Fri, 1 Dec 2023 14:22:43 +0100 Subject: [PATCH] #71 removed deploy step from pipeline, added junit47 plugin for surefire --- jenkinsfiles/build/Jenkinsfile | 10 ---------- pom.xml | 7 +++++++ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/jenkinsfiles/build/Jenkinsfile b/jenkinsfiles/build/Jenkinsfile index 5602ef8..f80c0e8 100644 --- a/jenkinsfiles/build/Jenkinsfile +++ b/jenkinsfiles/build/Jenkinsfile @@ -51,16 +51,6 @@ pipeline { } } } - stage('Deploy') { - when { - branch 'main' - } - steps { - withCredentials([usernamePassword(credentialsId: 'nexus-deploy', passwordVariable: 'PASSWORD_VAR', usernameVariable: 'USERNAME_VAR')]) { - sh 'mvn -B deploy -Dskip.unit.tests=true -s ${WORKSPACE}/settings.xml -Drepo.username=${USERNAME_VAR} -Drepo.password=${PASSWORD_VAR} -pl :deegree-ogcapi-webapp-postgres,:deegree-ogcapi-webapp-oracle,:deegree-ogcapi-documentation,:deegree-ogcapi-schema' - } - } - } stage ('Release') { when { allOf { diff --git a/pom.xml b/pom.xml index 7d1e37f..02f665c 100644 --- a/pom.xml +++ b/pom.xml @@ -143,6 +143,13 @@ -Xms1024m -Xmx2048m + + + org.apache.maven.surefire + surefire-junit47 + 3.2.2 + + org.apache.maven.plugins