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

Bamboo Webhook notification are inconsistent for successful jobs, failed jobs, jobs hung and change of responsibility

    XMLWordPrintable

Details

    Description

      Issue Summary

      While testing the webhook notification, it works for successful and failed builds but won't work for certain jobs failure and success

      Steps to Reproduce

      • Setup webhook notification for sucessful jobs, failed jobs, jobs hung and change of responsibility

      Expected Results

      Notifications are sent

      Actual Results

      Notifications are not sent and Bamboo will show errors in the logs that global Bamboo variables don't exist when in fact they do.

      The below exception is thrown in the atlassian-bamboo.log file:

      2021-03-02 22:45:50,072 ERROR [http-nio-8085-exec-13] [WebhookTransport] [Webhook id=458754, name=Deploy webhook, uuid=eb6984d1-a111-4d67-8538-2141e0644f7c] Variable not found: deploy.version.name
      2021-03-02 22:45:50,097 ERROR [http-nio-8085-exec-13] [WebhookTransport] [Webhook id=458753, name=Build webhook, uuid=bb375e7d-b3f4-452d-96b9-4ccbc4770882] Variable not found: trigger.name.for.sentence
      2021-03-02 22:51:06,427 ERROR [http-nio-8085-exec-2] [WebhookTransport] [Webhook id=458754, name=Deploy webhook, uuid=495a5c9c-7d8d-494a-94fb-0639c1186fd4] Variable not found: agentId
      2021-03-02 22:51:06,442 ERROR [http-nio-8085-exec-2] [WebhookTransport] [Webhook id=458753, name=Build webhook, uuid=c535df8c-46ca-4cf6-8cb2-72382c955bfd] Variable not found: date.started
      2021-03-02 22:53:34,165 ERROR [http-nio-8085-exec-18] [WebhookTransport] [Webhook id=458754, name=Deploy webhook, uuid=223cef8e-5c28-4efd-a4ab-ca4da471e4d9] Variable not found: deploy.environment.id
      2021-03-02 22:53:34,191 ERROR [http-nio-8085-exec-18] [WebhookTransport] [Webhook id=458753, name=Build webhook, uuid=22e401d8-522a-48ed-987a-67fdb46a3ab1] Variable not found: trigger.reason
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              achystoprudov Alexey Chystoprudov
              roliveira@atlassian.com Ricardo
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: