sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-tooling-jenkins] 02/02: SLING-7245 - Validate pull requests using Jenkins
Date Thu, 20 Dec 2018 15:21:18 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch feature/SLING-7245
in repository https://gitbox.apache.org/repos/asf/sling-tooling-jenkins.git

commit 112a4a39dd182389399eec32feb2acc8b2033cb8
Author: Robert Munteanu <rombert@apache.org>
AuthorDate: Tue Dec 18 00:06:06 2018 +0100

    SLING-7245 - Validate pull requests using Jenkins
    
    Add support for submodules
---
 vars/slingOsgiBundleBuild.groovy | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index a9f49ab..7178a81 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -31,6 +31,9 @@ def call(Map params = [:]) {
                 }
             }
             echo "Final job config: ${jobConfig}"
+            if ( fileExists('.gitmodules') ) {
+                sh 'git submodule update --init'
+            }
         }
 
         def jobTriggers = [


Mime
View raw message