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

publishHTML step is green even with error

    XMLWordPrintable

Details

    Description

      publishHTML step ends with colour indicator as green even though there is an error thrown as the file to be published cannot be found. In the simplified example, the error was easily noticed since it was a single step to publish a non-existence file. In a longer pipeline, the error was not immediately noticeable.

      Attachments

        1. BlueOcean view.png
          BlueOcean view.png
          54 kB
        2. BlueOcean view 2.png
          BlueOcean view 2.png
          79 kB
        3. Classic view.png
          Classic view.png
          190 kB

        Activity

          Not only is it green, the build keeps going until the end and then randomly indicates a failure even though every step of the build appears to have passed. I had to comment out each part of the build to figure out what was going wrong.

          mrozekma Michael Mrozek added a comment - Not only is it green, the build keeps going until the end and then randomly indicates a failure even though every step of the build appears to have passed. I had to comment out each part of the build to figure out what was going wrong.

          People

            r2b2_nz Richard Bywater
            qianyi Qian Yi Tan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: