aboutsummaryrefslogtreecommitdiff
path: root/tcwg_gnu.yaml
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-04-16 10:07:19 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-04-16 10:07:45 +0000
commitd4a742b568998efda1db1d21597d3718c3a6288b (patch)
treede642d1686ee14e4df6397841be20ec47749daff /tcwg_gnu.yaml
parenteb8d6d3ad0f3793da5c24978dd11bf373c401511 (diff)
tcwg_*: Update reset_baseline -> update_baseline
Change-Id: I92f56406f14bd1b2e03324d5d33821ea361b6256
Diffstat (limited to 'tcwg_gnu.yaml')
-rw-r--r--tcwg_gnu.yaml17
1 files changed, 10 insertions, 7 deletions
diff --git a/tcwg_gnu.yaml b/tcwg_gnu.yaml
index 38f8c7ce..9b4aa991 100644
--- a/tcwg_gnu.yaml
+++ b/tcwg_gnu.yaml
@@ -144,10 +144,13 @@
queue-scanning: 'ALL'
parameters:
- '{toolchain_name}-parameters'
- - bool:
- name: reset_baseline
- default: false
- description: "Whether to reset baseline to results of this build"
+ - choice:
+ name: update_baseline
+ choices:
+ - update
+ - reset
+ - init
+ description: "What to do with baseline in this build"
- default-parameters
disabled: false
node: '{node}'
@@ -206,7 +209,7 @@
==rr[gcc_url] {gcc_url} \
$branch_opt \
==rr[mode] "jenkins-full" \
- ==rr[reset_baseline] "$reset_baseline" &
+ ==rr[update_baseline] "$update_baseline" &
res=0 && wait $! || res=$?
if [ $res != 0 ]; then
@@ -216,8 +219,8 @@
if [ -e artifacts/results ]; then
build_name="$build_name-R$(tail -n1 artifacts/results)"
fi
- if $reset_baseline; then
- build_name="$build_name-baseline"
+ if [ x"$update_baseline" != x"update" ]; then
+ build_name="$build_name-$update_baseline"
fi
if [ -f artifacts/trigger-bisect ]; then
build_name="$build_name-bisect"