Making accessible (log) files

The Bamboo Task that is implemented by my plugin executes an ExternalProcess. This process generates a number of log files.

I’d like my plugin to automatically make these log files available via Bamboo’s UI, preferably without the user needing to explicitly configure this in their task (eg: through the normal ‘artifacts’ UI configuration options that admins have in the project’s Plan configuration).

Is there any way of programmatically making available certain files that are generated during the execution of a task?

1 Like

Hi @guusdk,

I had the same problem. I created a new service that uses ArtifactManager. To upload any artifact you need secure token, this can be found in CommonArtifactContext accessible from CommonContext (your task).

1 Like