From 25aa2103b99778c885e3059a0bc539b0494db450 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Sun, 10 Jan 2021 15:09:45 -0800 Subject: [PATCH] updated jenkins --- Jenkinsfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4d0bb26d9..52c117b12 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,17 +38,11 @@ pipeline { rtMavenResolver ( id: "MAVEN_RESOLVER", serverId: "ARTIFACTORY_SERVER", - releaseRepo: "libs-release", + releaseRepo: "spring-petclinic", snapshotRepo: "spring-petclinic-snapshot" ) - rtMavenRun ( - tool: MAVEN_TOOL, // Tool name from Jenkins configuration - pom: 'pom.xml', - goals: 'validate compile test', - deployerId: "MAVEN_DEPLOYER", - resolverId: "MAVEN_RESOLVER" - ) + sh "mvn validate compile test package" } } stage('build docker image') {