Some variables are not found in the Webhook template

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Notifications, Variables
    • None
    • 0
    • 3

      Issue Summary

      Sending a build template webhook using the variable below does fail to be sent.

      ${bamboo.agentWorkingDirectory}
      ${bamboo.buildFailed}
      ${bamboo.build.working.directory}
      ${bamboo.working.directory}
      ${bamboo.planName}
      ${bamboo.hg.cache.directory}
      ${bamboo.shortPlanKey}
      ${bamboo.shortPlanName}
      ${bamboo.shortJobName}
      ${bamboo.shortJobKey}
      ${bamboo.tmp.directory}
      ${bamboo.planKey}
      ${bamboo.git.cache.directory}

      Steps to Reproduce

      1. Create a build Webhook template using the variable any of the variables above;
      2. Configure a build to send notifications using the Webhook template that was just created;
      3. Trigger the build notification

      Expected Results

      The Webhook is sent.

      Actual Results

      The Webhook fails to be sent and the below exception is thrown in the atlassian-bamboo.log file:

      ERROR [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-1] [WebhookTransport] [name=Build Webhook] Variable not found: working.directory
      

       

              Assignee:
              Unassigned
              Reporter:
              Karel Miranda
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: