This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/master by this push:
     new 873cb5f  Fix dir step
873cb5f is described below

commit 873cb5f350c7ba28dbb4850adbad6a4138e0d460
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Sat Nov 7 14:03:55 2020 +0100

    Fix dir step
---
 Jenkinsfile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index f073713..edab700 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -72,11 +72,13 @@ pipeline {
             when {
                 branch 'master'
             }
-            dir("local-snapshots-dir/") {
-                    deleteDir()
-            }
             steps {
                 echo 'Test & Build'
+
+                dir("local-snapshots-dir/") {
+                    deleteDir()
+                }
+                
                 sh "mvn $MAVEN_PARAMS 
-DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir 
clean deploy"
             }
             post {

Reply via email to