Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

'Export' an environment variable from custom task

I’m trying to write a bamboo module, which includes a custom task. Let’s say I have a task runner class:


Class TaskRunner implements TaskType {



 public TaskResult execute(final TaskContext taskContext) throws TaskException {




Is it possible to ‘export’ an environment variable from the method ‘execute’ which would be visible for any further process on any agent after the task been executed? If it is possible, please, give the example.

1 answer

0 votes



Just interesting, have you fixed this issue?



Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

311 views 0 7
Read article

Atlassian Community Events