Merge branch 'fix-ci-tests-on-build-failure' into 'develop'

Fix CI launches tests when a build fails

See merge request !798
2 jobs for nightly in 5 minutes and 54 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Precheck
passed #39575
fast-build

00:05:54

 
  External
passed cdash:ubuntu-18.04-fast