aboutsummaryrefslogtreecommitdiff
path: root/tcwg-benchmark.yaml
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2016-02-15 14:02:37 +0000
committerBernard Ogden <bernie.ogden@linaro.org>2016-02-16 10:17:48 +0000
commit0942651e58415e0b518341e97499d2aa2d62c49c (patch)
treed109183ae8f833c06e9c184608cad267d98fa72e /tcwg-benchmark.yaml
parent1ec83f41cbc64411a9849d2a7873eb45096da4c8 (diff)
tcwg-benchmark: Support JOB_NAME
Change-Id: Ib5967da3e49c094e2ee49740f519b4a25b239a40
Diffstat (limited to 'tcwg-benchmark.yaml')
-rw-r--r--tcwg-benchmark.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tcwg-benchmark.yaml b/tcwg-benchmark.yaml
index 1fbd4d7d..0fe9eff0 100644
--- a/tcwg-benchmark.yaml
+++ b/tcwg-benchmark.yaml
@@ -22,6 +22,12 @@
- copyartifact:
projects: tcwg-post-build-lava
parameters:
+ - string:
+ name: JOB_NAME
+ description: |
+ Name of job from LAVA's point-of view, in other words what you
+ will see in the LAVA UI.
+ If left blank, will be ${BENCHMARK}-${TARGET_CONFIG}-${TRIPLE}-jenkins.
- choice:
name: BENCHMARK
choices:
@@ -154,6 +160,13 @@
export LAVA_SERVER=192.168.16.2/RPC2/
export BUNDLE_SERVER=lava.tcwglab/RPC2/
+ #Process JOB_NAME
+ #Have to do this after overrides in case one of the inputs is overridden
+ #If JOB_NAME itself was overridden then it will not be touched.
+ if test -z "${JOB_NAME}"; then
+ export JOB_NAME="${BENCHMARK}-${TARGET_CONFIG}-${TRIPLE:-native}-jenkins"
+ fi
+
git clone --depth 1 -b ${TESTDEF_REVISION} https://git.linaro.org/toolchain/abe
#Set variables for both post-build-lava and yaml-to-json