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

Support for build status unstable

XMLWordPrintable

      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:

       

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

              Created:
              Updated:
              Resolved: