Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

'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 Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

204 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you