From 6085ac363e8137279ba6d392c6d060833635c13b Mon Sep 17 00:00:00 2001 From: Milosz Wasilewski Date: Thu, 16 Jun 2016 10:23:13 +0100 Subject: groovy: added missing ART_URL parameter ART_URL is mandatory for post-build-reports and has to be set by source build. This patch allows to pass the parameter from source build to post-build-reports. Change-Id: I47629eef6fcadd2b7bc1faf1fa3bfa4808b146f9 Signed-off-by: Milosz Wasilewski --- post-build-lava.groovy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/post-build-lava.groovy b/post-build-lava.groovy index a4ecbd7..1dfd569 100644 --- a/post-build-lava.groovy +++ b/post-build-lava.groovy @@ -75,6 +75,10 @@ if (matcher?.matches()) { sourceVariableValue = sourceVariables.get(sourceVariableName) pbrParamsCache += "SOURCE_${sourceVariableName}=${sourceVariableValue}\n"; } + if (sourceVariableName.startsWith("ART_URL")) { + sourceVariableValue = sourceVariables.get(sourceVariableName) + pbrParamsCache += "${sourceVariableName}=${sourceVariableValue}\n"; + } } pbrParamsCache += "SOURCE_PROJECT_NAME=${jobName}\n"; -- cgit v1.2.3