Hi @jheimbuck_gl Thanks for swift response. But it does not work.
There is job for running maven tests (mvn test). It works inside docker container.
One test is failed by assertion. In maven log inside job log I see
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO] BUILD FAILURE
Then, there is artefacts uploading:
Uploading artifacts to coordinator… ok
But at the end of job log is:
Job succeeded
So, job is marked as succeeded, and all pipeline is succeeded too.
May there is additional option somewhere in Gitlab that I forgot? The only thing I set up is .gitlab-ci.yml file with UI test job stage (in addition for stages for building app etc.)