From da3f5e506a60a373efa10373fe8035d77d3f5152 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Mon, 11 Jan 2021 09:15:28 -0800 Subject: [PATCH] jenkinsfile updated --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1e0841afc..f629d2752 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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",