• 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])
      

          [JENKINS-49071] Don't throw exception when no reports available

          reitzmichnicht do you have any examples of other publisher plugins doing this? If I'm going to make it consistent, I would like to be able to compare.

          Benjamin Sproule added a comment - reitzmichnicht do you have any examples of other publisher plugins doing this? If I'm going to make it consistent, I would like to be able to compare.

          Daniel Beck added a comment -

          Resolved towards 2.104.

          Daniel Beck added a comment - Resolved towards 2.104.

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

              Created:
              Updated:
              Resolved: