Skip to content

Fail build in case of code_quality errors

Alessio Caiazza requested to merge (removed):failure-means-failure into master

What does this MR do?

Without gitlab-org/gitlab-ee#2547 it's easy to miss a codequality degradation and merge it on master.

This MR adds a job on the release stage for checking the quality of the build. If there are errors it will fail the build.

This is on the release stage because it will allow publishing binaries for testing even in case of minor quality offenses.

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

Edited by Alessio Caiazza

Merge request reports