From 57e86138ad85f1e91f6e2010f37a4693cc01d277 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Sun, 10 Jan 2021 18:35:41 -0800 Subject: [PATCH] fixed permission --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8fb17f88a..18707652b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,7 +30,7 @@ pipeline { } stage('build maven package') { steps { - sh "mvn validate compile test package" + 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 (