diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2015-05-09 14:19:52 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2015-05-09 14:19:52 +0300 |
commit | 244bf721fe5566510a1871621986ba835ba2c943 (patch) | |
tree | bf8be57c57cf6fce1b5161054a5bda59e05dbe53 | |
parent | 60710a751ab0edc1e536785e1539eebf6e4b5b4c (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.groovy | 2 |
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() } |