This commit is contained in:
Maharshi Patel 2021-01-10 18:31:55 -08:00
parent 904b42efb9
commit 9b2029aa22

2
Jenkinsfile vendored
View file

@ -30,10 +30,8 @@ pipeline {
}
stage('build maven package') {
steps {
sh "pwd"
sh "mvn validate compile test package"
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',