From 7ab06c6060d03ff90fef15911169f6201b95fed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 23 Nov 2022 13:55:28 +0100 Subject: [PATCH] ci: clarify why we ignore UNSTABLE squish state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I tried using `--exitCodeOnFail` but it didn't work. https://doc.qt.io/squish/cli-squishrunner.html#playback-option-op-op-op-op-exitcodeonfail Signed-off-by: Jakub SokoĊ‚owski --- ci/Jenkinsfile.e2e | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/Jenkinsfile.e2e b/ci/Jenkinsfile.e2e index f009c3eddd..498c1286ba 100644 --- a/ci/Jenkinsfile.e2e +++ b/ci/Jenkinsfile.e2e @@ -139,6 +139,7 @@ pipeline { testSuite: "${WORKSPACE}/test/ui-test/testSuites/*", ]) print("Squish run result: ${result}") + /* Ignore UNSTABLE caused by retried tests. */ if (!['SUCCESS', 'UNSTABLE'].contains(result)) { throw new Exception('Squish run failed!') }