ci: clarify why we ignore UNSTABLE squish state
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 <jakub@status.im>
This commit is contained in:
parent
f8293a12f4
commit
7ab06c6060
|
@ -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!')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue