From 9e5759cd2a52a9934b069bbea622e2580ee26b80 Mon Sep 17 00:00:00 2001 From: Toni Saario Date: Mon, 10 Jun 2024 11:54:32 +0300 Subject: [PATCH] Coin: Add a way to disable test upload The use case is where blocking test building is wanted but they cannot be uploaded due to being static or they would simply be unused. Pick-to: 6.7 Change-Id: I32ad20fea2ec032fb1f1a9b86025b34f192e0ed2 Reviewed-by: Alexandru Croitor (cherry picked from commit 6a0c94b62d948d3da0da241cf1e6c15188069169) Reviewed-by: Qt Cherry-pick Bot --- .../cmake_build_and_upload_test_artifacts.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/coin/instructions/cmake_build_and_upload_test_artifacts.yaml b/coin/instructions/cmake_build_and_upload_test_artifacts.yaml index 7fa663e4d29..0a37ecc602a 100644 --- a/coin/instructions/cmake_build_and_upload_test_artifacts.yaml +++ b/coin/instructions/cmake_build_and_upload_test_artifacts.yaml @@ -71,6 +71,11 @@ instructions: maxTimeBetweenOutput: 1200 # INTEGRITY artifacts aren't used. disable_if: - condition: property - property: target.osVersion - equals_value: INTEGRITY + condition: or + conditions: + - condition: property + property: target.osVersion + equals_value: INTEGRITY + - condition: property + property: features + contains_value: DoNotUploadTests