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

radu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git


The following commit(s) were added to refs/heads/master by this push:
     new f27f58d  temporary: delete submodule folder from 
https://builds.apache.org/job/Sling/job/sling-org-apache-sling-scripting-bundle-tracker-it
f27f58d is described below

commit f27f58da3dcc0a7775e3238181fa05c2e1fdfae1
Author: Radu Cotescu <[email protected]>
AuthorDate: Thu Aug 29 17:23:42 2019 +0200

    temporary: delete submodule folder from 
https://builds.apache.org/job/Sling/job/sling-org-apache-sling-scripting-bundle-tracker-it
---
 vars/slingOsgiBundleBuild.groovy | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 69e1375..4fe8c56 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -16,7 +16,9 @@ def call(Map params = [:]) {
         helper.runWithErrorHandling({ jobConfig ->
             if ( jobConfig.enabled ) {
                 if ( fileExists('org-apache-sling-scripting-sightly') ) {
-                    deleteDir('org-apache-sling-scripting-sightly')
+                    dir('org-apache-sling-scripting-sightly') {
+                        deleteDir()
+                    }
                 }
 
 

Reply via email to