You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/01/14 16:35:16 UTC

[sling-tooling-jenkins] branch feature/SLING-7245 updated: SLING-7245 - Validate pull requests using Jenkins

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

commit b9c8081c8527281a5698a46ddd5b4cc9d098274c
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Dec 20 16:46:05 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 7052da4..82b5434 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -77,7 +77,7 @@ def call(Map params = [:]) {
                 echo "Job is disabled, not building"
             }
         } finally {
-            processResult(currentBuild, currentBuild.getPreviousResult()?.result)
+            processResult(currentBuild, currentBuild.getPreviousBuild()?.result)
         }
     }
 }