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

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

    SLING-7245 - Validate pull requests using Jenkins
    
    Fix calculation of upstreamProjectsCsv
---
 vars/slingOsgiBundleBuild.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/slingOsgiBundleBuild.groovy b/vars/slingOsgiBundleBuild.groovy
index 39faa09..dd5d745 100644
--- a/vars/slingOsgiBundleBuild.groovy
+++ b/vars/slingOsgiBundleBuild.groovy
@@ -14,8 +14,8 @@ def call(Map params = [:]) {
     ]
 
     def moduleDir = params.containsKey('moduleDir') ? params.moduleDir : '.'
-    def upstreamProjectsCsv = upstreamProjects ? 
-        upstreamProjects.join(',') : ''
+    def upstreamProjectsCsv = jobConfig.upstreamProjects ? 
+        jobConfig.upstreamProjects.join(',') : ''
 
     node('ubuntu') {
         properties([

Reply via email to