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 6cd94c2  SLING-7245 - Validate pull requests using Jenkins
6cd94c2 is described below

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

    SLING-7245 - Validate pull requests using Jenkins
    
    Fix method name
---
 vars/slingOsgiBundleBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index a1412af..a23678d 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -21,7 +21,7 @@ def call(Map params = [:]) {
 
         stage('Init') {
             if ( fileExists('.sling-module.json') ) {
-                overrides = readJson file: '.sling-module.json'
+                overrides = readJSON file: '.sling-module.json'
                 echo "Jenkins overrides: ${overrides.jenkins}"
                 if ( overrides.jenkins?.jdks ) {
                     buildDesc.jdks = overrides.jenkins.jdks

Reply via email to