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.