diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2016-06-16 10:23:13 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2016-06-16 10:23:13 +0100 |
commit | 6085ac363e8137279ba6d392c6d060833635c13b (patch) | |
tree | cf6186d128f3af4255a9e47903beb71a13494556 | |
parent | 89a49f645c05e39f376a4be3c1daca31f34d8281 (diff) |
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 <milosz.wasilewski@linaro.org>
-rw-r--r-- | post-build-lava.groovy | 4 |
1 files changed, 4 insertions, 0 deletions
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"; |