Getting System Variables in Webhooks

Matthias Oberleitner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 8, 2021

I'm creating a build webhook, and in my project there is a script task which creates a container. I need to know the container ID which is a variable inside the script.

In my script I tried to export TEST="TEST" and use it in my webhook template ${system.TEST} as noted in "System Variables"

https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html

However when I add it the webhook doesn't work anymore.

 

Does anyone have any idea how I can get the container ID into the webhook?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events