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

Can an agent plugin add a label to a build?

Matt Hauck May 25, 2015

I would like to write an agent plugin that is able to add labels to a build so that we can label the build with full version number (e.g. 1.5.2.19). It looks like the only thing in the API that allows this is the `LabelManger`, which appears to only be available on the server side. However, it is only on the agent side where the code is checked out that we know the right version number for that build, so this has to be an agent-side plugin, and I don't think I can use a Build Processor Server Module. 

Am I missing something? Is there a way to do this from an agent plugin?

The only thing I can think of for now is to have the agent-side call out to the REST API to add a label for the in-progress build, but that seems a rather strange way to have to do it.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2015

ATM it is not possible to add labels from the agent side. This can only be completed from the UI/REST.

I think this is interesting idea - you can create feature request on our public issue tracker

TAGS
AUG Leaders

Atlassian Community Events