This commit is contained in:
Maharshi Patel 2021-01-10 18:59:18 -08:00
parent d2d84babf5
commit b21fdab023

2
Jenkinsfile vendored
View file

@ -30,7 +30,7 @@ pipeline {
} }
stage('build maven package') { stage('build maven package') {
steps { steps {
sh "mvn clean validate compile test package install" sh "mvn clean validate compile test package deploy"
sh "ls -la target" sh "ls -la target"
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"' 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"'
} }