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


The following commit(s) were added to refs/heads/feature/SLING-7245 by this 
push:
     new 1fe456f  SLING-7245 - Validate pull requests using Jenkins
1fe456f is described below

commit 1fe456f6112d78c8ce717c82567e1e5deb40e13d
Author: Robert Munteanu <[email protected]>
AuthorDate: Tue Dec 18 00:06:06 2018 +0100

    SLING-7245 - Validate pull requests using Jenkins
    
    Correct map syntax
---
 src/sling/SlingModuleParser.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sling/SlingModuleParser.groovy 
b/src/sling/SlingModuleParser.groovy
index 7bcf500..36e0eb5 100644
--- a/src/sling/SlingModuleParser.groovy
+++ b/src/sling/SlingModuleParser.groovy
@@ -5,7 +5,7 @@ class SlingModuleParser {
     def fileName;
     
     // defaults for the build
-    def buildDesc = {
+    def buildDesc = [
         jdks: [8],
         downstreamProjects: [],
         archivePatterns: [],
@@ -14,7 +14,7 @@ class SlingModuleParser {
         rebuildFrequency: '@weekly',
         enableXvfb: false,
         enabled: true
-    }
+    ]
 
     SlingModuleParser(fileName) {
         this.fileName = fileName;        

Reply via email to