Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37383

publishBrakeman step should include thresholds

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • brakeman-plugin
    • None

      Right now publishBrakeman just takes one argument, the Brakeman report file.

      it would be wonderful if you could also specify the status thresholds via this publishBrakeman step.

      Using step, I can set some of these but it's pretty ugly:

      step([$class: 'BrakemanPublisher', canComputeNew: false, failedTotalAll: '0', healthy: '', outputFile: 'brakeman-output.tabs', unHealthy: '', unstableTotalAll: '0'])
      

      IMHO the same argument names could be used, but I would omit the healthy/unhealthy thresholds since I find those to be much less useful in a Pipeline-context

            acp Andrew Paulin
            rtyler R. Tyler Croy
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: