Don't throw exception when no reports available

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: pitmutation-plugin
    • None
    • Environment:
      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])
      

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

              Created:
              Updated:
              Resolved: