Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-4468

Build breaker should work in dry run mode

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7
    • Component/s: None
    • Labels:
      None

      Description

      Steps to reproduce this issue:
      1. Configure a quality profile to contain multiple critical rules and a red alert when critical violations > 0
      2. Install the Build Breaker plugin
      3. Ensure the plugin is not excluded during dry runs
      4. Run an analysis with a project containing a critical violation. The build will fail.
      5. Run the same analysis with the sonar.dryRun=true flag enabled. The build will succeed whereas it should not.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              henryju OLD - Julien HENRY
              Reporter:
              fabemn OLD - Fabrice Bellingard
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: