aboutsummaryrefslogtreecommitdiff
path: root/tcwg
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2024-04-25 07:34:20 +0200
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2024-04-25 11:04:21 +0200
commit87ab4de6c35ddb48bb7d031441a3837b77f386b5 (patch)
tree313aa4eff07c970e3d79b676f93a6572803927a2 /tcwg
parente4dac09df2aaa323ff302a14607033d138918426 (diff)
round-robin.yaml.inc: Add a rewrite-baseline before starting the build
Advantages : - Do not wait for a successful build to rewrite the history. - Start the build with an up-to-date history. . This may imply, that we can now count on the history, and may be avoir fetching bmk history from the raw results (annex). . To fully count on the histiory we may need to remove the maximum number of build round-robin-baseline.sh proceeds. Change-Id: I6c099e62995cb560766e12280e7cfc0d982cf90b
Diffstat (limited to 'tcwg')
-rw-r--r--tcwg/round-robin.yaml.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/tcwg/round-robin.yaml.inc b/tcwg/round-robin.yaml.inc
index d16c4163ee..1f41154a8d 100644
--- a/tcwg/round-robin.yaml.inc
+++ b/tcwg/round-robin.yaml.inc
@@ -119,6 +119,7 @@
description: "Whether to notify developers about the result of this build"
- default-parameters:
distro: '{distro}'
+
#if PRECOMMIT_ENABLE_yes
# Precommit parameters ...
# - allow only "ignore" value for update_baseline parameter;
@@ -449,6 +450,7 @@
__build_script {build_script} \
__push_base_artifacts true \
__rewrite_base_artifacts true \
+ __commit_artifacts {commit_artifacts} \
__rewrite_num 100 \
&> ./artifacts/jenkins/rewrite.log &
@@ -876,6 +878,12 @@
- conditional-step:
condition-kind: current-status
steps:
+ - run-push-baseline:
+ build_script: '{build_script}'
+ commit_artifacts: false
+ - conditional-step:
+ condition-kind: current-status
+ steps:
- run-build-main:
build_script: '{build_script}'
- build-name-setter:
@@ -913,6 +921,7 @@
steps:
- run-push-baseline:
build_script: '{build_script}'
+ commit_artifacts: true
- conditional-step:
condition-kind: current-status
steps: