Support for unstable is in my opinion really important. In our situation a build job should be indicated unstable when any warnings, e.g. inspect warnings from resharper, are introduced. As a developer I would like to be notified with a yellow unstable marker if I introduced any into the system.

      When checking the console log I see the following information:

      // code placeholder
      [Pipeline] stage
      [Pipeline]{ (Declarative: Post Actions)
      [Pipeline] echo
      UNSTABLE
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] }
      [Pipeline] // withEnv
      [Pipeline] }
      [Pipeline] // withEnv
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline
      Posting build status of SUCCESSFUL to Jenkins2 InstanceFinished: UNSTABLE
      

       However in Bitbucket Server I see a green successful indicating the build is OK.

       

      Environment:

       

          [JENKINS-62915] Support for build status unstable

          Hi Frank, thanks for your report.

          The behaviour you are describing is working as intended- unstable is not a build type in Bitbucket Server, so we translate unstable warnings as green builds. The change to support "unstable" builds in Bitbucket Server is not currently on our roadmap, and we don't feel it is likely to occur in the near future, so I am going to CWD this ticket for now.

          Martin Henschke added a comment - Hi Frank, thanks for your report. The behaviour you are describing is working as intended- unstable is not a build type in Bitbucket Server, so we translate unstable warnings as green builds. The change to support "unstable" builds in Bitbucket Server is not currently on our roadmap, and we don't feel it is likely to occur in the near future, so I am going to CWD this ticket for now.

            Unassigned Unassigned
            flitjens Frank Litjens
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: