From 3334b08be516adf93f86b535375d8d69e5c2d740 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Sun, 10 Jan 2021 19:21:25 -0800 Subject: [PATCH] fixed type --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 47989c0e8..3643c0b1a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,9 +7,7 @@ pipeline { // START : // Definition of Jenkins job configuration ///////////////////////////////////////////////////////////////////// - tools { - MAVEN_TOOL 'M3' - } + options { skipStagesAfterUnstable() } @@ -41,7 +39,7 @@ pipeline { releaseRepo: "spring-petclinic",snapshotRepo: "spring-petclinic-snapshot") rtMavenResolver (id: "MAVEN_RESOLVER",serverId: "ARTIFACTORY_SERVER", releaseRepo: "spring-petclinic",snapshotRepo: "spring-petclinic-snapshot") - rtMavenRun (tool: MAVEN_TOOL, pom: './pom.xml',goals: 'clean install', + rtMavenRun (tool: 'mvn', pom: './pom.xml',goals: 'clean install', deployerId: "MAVEN_DEPLOYER",resolverId: "MAVEN_RESOLVER") //sh 'curl -X PUT -u jfroguser:AdminPassword1 ./target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar "https://petclinic.jfrog.io/artifactory/spring-petclinic/spring-petclinic-2.4.0.BUILD-${BUILD_NUMBER}.jar"' }