fixed syntx

This commit is contained in:
Maharshi Patel 2021-01-10 18:12:51 -08:00
parent e794769546
commit be900dd732

2
Jenkinsfile vendored
View file

@ -35,7 +35,6 @@ pipeline {
sh "ls -la target"
sh "chmod 400 ./target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar"
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"'
}
rtServer (
id: 'Artifactory-1',
url: 'https://petclinic.jfrog.io/artifactory',
@ -45,6 +44,7 @@ pipeline {
timeout: 300
)
}
}
stage('build docker image') {
steps {
script {