From 46bd6ad669ab5bfe941e0e57fc998e12e7a8a9d3 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Sun, 10 Jan 2021 18:40:19 -0800 Subject: [PATCH] removed --- Jenkinsfile | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 18707652b..a2eb908b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,20 +32,7 @@ pipeline { steps { sh "mvn clean validate compile test package" 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"' - rtServer ( - id: 'Artifactory-1', - url: 'https://petclinic.jfrog.io/artifactory', - username: 'jfroguser', - password: 'AdminPassword1', - bypassProxy: true, - timeout: 300 - ) - rtUpload ( - serverId: 'Artifactory-1', - specPath: './target/spring-petclinic-2.4.0.BUILD-SNAPSHOT.jar', - failNoOp: true - ) + 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"' } } stage('build docker image') { @@ -79,4 +66,6 @@ pipeline { } } } + + }