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 <[email protected]>
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)
         }
     }
 }

Reply via email to