To reproduce:
      Run? File exists
      File: file.html
      Base directory: Workspace
      On evaluation failure: "Mark the build unstable"
      Action: Publish HTML reports
      HTML Directory to archive: <empty>
      Index page: file.html
      Report Title: HTML Report
      Keep passed HTML report: unchecked

      Sample console output:

      Started by user anonymous
      Building in workspace /home/deepchip/.jenkins/jobs/deepchip-test/workspace
      Run condition [File exists] enabling prebuild for step [Publish HTML reports]
      [workspace] $ /bin/bash /tmp/hudson8053411243245269594.sh
      /mnt/homes/home/deepchip/.jenkins/jobs/deepchip-test/workspace
      Run condition [File exists] preventing perform for step [Publish HTML reports]
      Finished: SUCCESS
      

      It finished with SUCCESS, it should be UNSTABLE.

          [JENKINS-14068] Mark build unstable does not work

          Martin d'Anjou created issue -
          bap made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          bap made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Martin d'Anjou made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Martin d'Anjou made changes -
          Martin d'Anjou made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          bap made changes -
          Link New: This issue is duplicated by JENKINS-14296 [ JENKINS-14296 ]
          bap made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Roman Wieczorek made changes -
          Link New: This issue is related to JENKINS-34971 [ JENKINS-34971 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 144536 ] New: JNJira + In-Review [ 205923 ]

            bap bap
            deepchip Martin d'Anjou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: