Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to create a custom web render plugin on build result?

Valentine Goh
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 3, 2019

I'm trying to create a bamboo plugin where it will have a new tab (Progress) on the build result. In that tab, the content will render the html specified on the artifact path in the plan while the build is In Progress and Complete. The content will refresh based on specified duration.

I know that the artifact will only be available after the build is completed but I was wondering if it's possible for the plugin to access the content directly based on the artifact path? 

I'm open to suggestions as long as the content can be render on the build result and the content can be retrieve from the artifact path while the build is In Progress and Complete.

1 answer

0 votes
Rafael Pinto Sperafico
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 4, 2019

Hi @Valentine Goh ,

Based on your description, you could try and read the artifact definition in your JOB from Build Working Directory whilst the build is running and once the build is complete swap to the artifacts directory.

Please, review https://confluence.atlassian.com/bamboo/artifact-handlers-938641848.html when implementing your plugin.

Kind regards,
Rafael

Valentine Goh
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 4, 2019

Hi @Rafael Pinto Sperafico,

Thank you for the suggestion. I'll have a look.

Kind regards,

Valentine

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events