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

Can I hook into pull request creation and update?

Daniel Sobral
Contributor
July 12, 2013
I'd like to trigger the build of a pull request in my CI system whenever a pull request is created or updated. How can I do that?

3 answers

1 accepted

1 vote
Answer accepted
ThomasA
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.
July 12, 2013

Hi Daniel,

If you are comfortable writing a Stash plugin there are events for when a PR is created/updated, which you can listen too and then update your CI system.

Some links which may help:

An overview of writing a Stash plugin

The events are detailed here

Responding to events

An example of something similar for Jenkins

Quite possibly someone has already written something for your CI. Which CI server are you using?

Regards,

Tom

0 votes
Daniel Sobral
Contributor
July 16, 2013

It is. I got the Bamboo side to work, now I need the Stash side to trigger it.

0 votes
cofarrell
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.
July 13, 2013

Hi Daniel,

Just out of curiosity is this related to Precog? If so you may want to follow the conversation here with Kris for more details.

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events