fixed syntax

This commit is contained in:
Maharshi Patel 2021-01-10 19:08:40 -08:00
parent b5fb4e0b25
commit 4d1bc8e6a2

2
Jenkinsfile vendored
View file

@ -38,7 +38,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: $env.MAVEN_TOOL, 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"'
}