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
4,361,124
Community Members
 
Community Events
168
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 {

...

 @Override

 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

Hi! 

 

Just interesting, have you fixed this issue?

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
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