Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

'Export' an environment variable from custom task

nsa31415
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!
September 28, 2018

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
Gonchik Tsymzhitov
Community Champion
February 10, 2019

Hi! 

 

Just interesting, have you fixed this issue?

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events