jenkinsfile updated

This commit is contained in:
Maharshi Patel 2021-01-11 09:15:28 -08:00
parent 3250c62237
commit da3f5e506a

2
Jenkinsfile vendored
View file

@ -35,7 +35,7 @@ pipeline {
// withMaven {
sh "mvn clean validate compile test package"
sh "ls -la target"
sh 'curl -X -u jfroguser:AdminPassword1 -T ./target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar "${artifactory_repo}/spring-petclinic-2.4.0.BUILD-${BUILD_NUMBER}.jar"'
sh 'curl -u jfroguser:AdminPassword1 -T ./target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar "${artifactory_repo}/spring-petclinic-2.4.0.BUILD-${BUILD_NUMBER}.jar"'
// rtServer (id: 'jenkins-artifactory-server',url: 'https://petclinic.jfrog.io/artifactory',username: 'jfroguser',
// password: 'AdminPassword1',bypassProxy: true,timeout: 300)
// rtMavenDeployer (id: "MAVEN_DEPLOYER",serverId: "jenkins-artifactory-server",