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

Don't throw exception when no reports available

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • pitmutation-plugin
    • None
    • pitmutation 1.0.16

      The pitpublisher in pipeline throws an exception when no reports are found. This is not consistent to other publisher plugins which only write a warning to the log files.

      This should be changed to emit a warning to log instead of throwing an exception.

      My code:

         step([$class              : 'PitPublisher',
                        mutationStatsFile   : '**/target/pit-reports/mutations.xml',
                        killRatioMustImprove: false])
      

            gigasproule Benjamin Sproule
            reitzmichnicht Michael Düsterhus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: