Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29596

Fail the build on a PR when unit tests fail in the dev env

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.3, 2021.0
    • Component/s: CI/CD

      Description

      Since NXP-29513, we don't fail the build on a PR if another env than the dev one fails (mongodb and/or postgresql), we only set a FAILURE status in GitHub.

      Yet, we've observed on a PR build that when the unit tests fail in all the environments, including dev, the build doesn't fail. The next steps are run and the build is only marked as unstable:

      The build should fail in this case!

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h