• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • robot-plugin
    • None
    • 3.4.0

      When reportFileName is incorrect, the plugin does not fail and outputs a report.html link for consumption that ultimately results in a 404 in the Jenkins UI.

      Would it be possible to throw a warning here, or at the least not to link to a non-existent report.html on the Jenkins job page?

          [JENKINS-70090] Error reporting for incorrect reportFileName

          Aleksi Simell added a comment -

          Hi solarsnake ,

           

          Sorry for the delay. Logging an error for an incorrect filename is an excellent idea and I'm surprised this isn't already a feature of the plugin. I'll try to take a look at this in the near future.

          Aleksi Simell added a comment - Hi solarsnake ,   Sorry for the delay. Logging an error for an incorrect filename is an excellent idea and I'm surprised this isn't already a feature of the plugin. I'll try to take a look at this in the near future.

          Aleksi Simell added a comment -

          https://github.com/jenkinsci/robot-plugin/pull/60 created to resolve this issue. It adds a warning log message to console output, but doesn't add any redirects to 404 or remove links to non-existent files

          Aleksi Simell added a comment - https://github.com/jenkinsci/robot-plugin/pull/60 created to resolve this issue. It adds a warning log message to console output, but doesn't add any redirects to 404 or remove links to non-existent files

          Aleksi Simell added a comment -

          PR merged. Feature will be available in next release.

          Aleksi Simell added a comment - PR merged. Feature will be available in next release.

          Aleksi Simell added a comment -

          Feature released with plugin version 3.4.0

          Aleksi Simell added a comment - Feature released with plugin version 3.4.0

          Tim Tippens added a comment -

          aleksisimell very much appreciated! We will upgrade our plugin asap.

          Tim Tippens added a comment - aleksisimell very much appreciated! We will upgrade our plugin asap.

            aleksisimell Aleksi Simell
            solarsnake Tim Tippens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: