summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-05-09 14:19:52 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2015-05-09 14:19:52 +0300
commit244bf721fe5566510a1871621986ba835ba2c943 (patch)
treebf8be57c57cf6fce1b5161054a5bda59e05dbe53
parent60710a751ab0edc1e536785e1539eebf6e4b5b4c (diff)
post-build-lava.groovy: save build number in the pool
save post-build-lava build number instead of lava job id. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rw-r--r--post-build-lava.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/post-build-lava.groovy b/post-build-lava.groovy
index d935052..7698ed7 100644
--- a/post-build-lava.groovy
+++ b/post-build-lava.groovy
@@ -54,7 +54,7 @@ if (matcher?.matches()) {
property = job.getProperty(hudson.model.ParametersDefinitionProperty.class)
parameter = property.getParameterDefinition("LAVA_JOB_ID_POOL")
lavaJobIdPool = parameter.getDefaultValue()
- lavaJobIdPool += " ${lavaJobId}"
+ lavaJobIdPool += " ${manager.build.number}"
parameter.setDefaultValue(lavaJobIdPool)
job.save()
}