mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
[Security Solution] Prevent junit tranformation command from breaking a build step (#165824)
## Summary This PR implements a temporary fix to prevent `yarn junit:merge` command from breaking a build step by returning non zero code. `yarn junit:merge` fails in case if it can't find reports or folders it operates on weren't created beforehand.
This commit is contained in:
parent
42f377b746
commit
9f2f739edf
10 changed files with 10 additions and 10 deletions
|
@ -13,4 +13,4 @@ echo "--- Defend Workflows Cypress tests"
|
|||
cd x-pack/plugins/security_solution
|
||||
|
||||
set +e
|
||||
yarn cypress:dw:run; status=$?; yarn junit:merge && exit $status
|
||||
yarn cypress:dw:run; status=$?; yarn junit:merge || :; exit $status
|
||||
|
|
|
@ -13,4 +13,4 @@ echo "--- Defend Workflows Endpoint Cypress tests"
|
|||
cd x-pack/plugins/security_solution
|
||||
|
||||
set +e
|
||||
yarn cypress:dw:endpoint:run; status=$?; yarn junit:merge && exit $status
|
||||
yarn cypress:dw:endpoint:run; status=$?; yarn junit:merge || :; exit $status
|
||||
|
|
|
@ -13,4 +13,4 @@ echo "--- Response Ops Cypress Tests on Security Solution"
|
|||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
set +e
|
||||
yarn cypress:run:respops:ess; status=$?; yarn junit:merge && exit $status
|
||||
yarn cypress:run:respops:ess; status=$?; yarn junit:merge || :; exit $status
|
||||
|
|
|
@ -13,4 +13,4 @@ echo "--- Response Ops Cases Cypress Tests on Security Solution"
|
|||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
set +e
|
||||
yarn cypress:run:cases:ess; status=$?; yarn junit:merge && exit $status
|
||||
yarn cypress:run:cases:ess; status=$?; yarn junit:merge || :; exit $status
|
||||
|
|
|
@ -13,4 +13,4 @@ echo "--- Security Serverless Cypress Tests"
|
|||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
set +e
|
||||
yarn cypress:run:serverless; status=$?; yarn junit:merge && exit $status
|
||||
yarn cypress:run:serverless; status=$?; yarn junit:merge || :; exit $status
|
||||
|
|
|
@ -13,4 +13,4 @@ echo "--- Explore - Security Solution Cypress Tests"
|
|||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
set +e
|
||||
yarn cypress:explore:run:serverless; status=$?; yarn junit:merge && exit $status
|
||||
yarn cypress:explore:run:serverless; status=$?; yarn junit:merge || :; exit $status
|
||||
|
|
|
@ -13,4 +13,4 @@ echo "--- Investigations Cypress Tests on Serverless"
|
|||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
set +e
|
||||
yarn cypress:investigations:run:serverless; status=$?; yarn junit:merge && exit $status
|
||||
yarn cypress:investigations:run:serverless; status=$?; yarn junit:merge || :; exit $status
|
||||
|
|
|
@ -13,4 +13,4 @@ echo "--- Security Solution Cypress tests (Chrome)"
|
|||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
set +e
|
||||
yarn cypress:run:ess; status=$?; yarn junit:merge && exit $status
|
||||
yarn cypress:run:ess; status=$?; yarn junit:merge || :; exit $status
|
||||
|
|
|
@ -13,4 +13,4 @@ echo "--- Explore Cypress Tests on Security Solution"
|
|||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
set +e
|
||||
yarn cypress:explore:run:ess; status=$?; yarn junit:merge && exit $status
|
||||
yarn cypress:explore:run:ess; status=$?; yarn junit:merge || :; exit $status
|
||||
|
|
|
@ -13,4 +13,4 @@ echo "--- Investigations - Security Solution Cypress Tests"
|
|||
cd x-pack/test/security_solution_cypress
|
||||
|
||||
set +e
|
||||
yarn cypress:investigations:run:ess; status=$?; yarn junit:merge && exit $status
|
||||
yarn cypress:investigations:run:ess; status=$?; yarn junit:merge || :; exit $status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue