Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-19868

Email Notifications Show build failed while build is still running.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • None
    • Notifications

    Description

      When a notification is sent about a still running plan (example: user leaves a comment) the email shows the build to have failed. Looking through the email templates shows the logic for determining build status considers anything other than explicit success as a failure. Please see code snippet below.

      <bamboo-install>/atlassian-bamboo/WEB-INF/classes/notification-templates/notificationCommonsHtml.ftl
      [#function getBuildStatus buildSummary]
          [#if buildSummary.successful]
              [#return "successful"]
          [#else]
              [#return "failed"]
          [/#if]
      [/#function]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            abrown3@atlassian.com Aaron Brown
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: