Loading .gitlab-ci.yml +5 −2 Original line number Diff line number Diff line Loading @@ -1476,11 +1476,14 @@ upload-selection-BE-log: script: - cp -r $SELECTION_BE_RESULT ./selection-BE-result - Get-Content -Path selection-BE-result/public_log--sha-*.txt - $has_failed = (Select-String -Path selection-BE-result/public_log--sha-*.txt -Pattern '^FAILED tests' -CaseSensitive).Line - If($has_failed) {exit -1} - $has_failed_debugging_active = (Select-String -Path selection-BE-result/public_log--sha-*.txt -Pattern '^FAILED tests' -CaseSensitive).Line - Get-Content -Path selection-BE-result/public_log_DEBUGGING_inactive--sha-*.txt - $has_failed_debugging_inactive = (Select-String -Path selection-BE-result/public_log_DEBUGGING_inactive--sha-*.txt -Pattern '^FAILED tests' -CaseSensitive).Line - If($has_failed_debugging_active -or has_failed_debugging_inactive) {exit -1} artifacts: paths: - selection-BE-result/public_log--sha-*.txt - selection-BE-result/public_log_DEBUGGING_inactive--sha-*.txt when: always expire_in: 1 week Loading Loading
.gitlab-ci.yml +5 −2 Original line number Diff line number Diff line Loading @@ -1476,11 +1476,14 @@ upload-selection-BE-log: script: - cp -r $SELECTION_BE_RESULT ./selection-BE-result - Get-Content -Path selection-BE-result/public_log--sha-*.txt - $has_failed = (Select-String -Path selection-BE-result/public_log--sha-*.txt -Pattern '^FAILED tests' -CaseSensitive).Line - If($has_failed) {exit -1} - $has_failed_debugging_active = (Select-String -Path selection-BE-result/public_log--sha-*.txt -Pattern '^FAILED tests' -CaseSensitive).Line - Get-Content -Path selection-BE-result/public_log_DEBUGGING_inactive--sha-*.txt - $has_failed_debugging_inactive = (Select-String -Path selection-BE-result/public_log_DEBUGGING_inactive--sha-*.txt -Pattern '^FAILED tests' -CaseSensitive).Line - If($has_failed_debugging_active -or has_failed_debugging_inactive) {exit -1} artifacts: paths: - selection-BE-result/public_log--sha-*.txt - selection-BE-result/public_log_DEBUGGING_inactive--sha-*.txt when: always expire_in: 1 week Loading