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

Webhook Pull Request Approved Event not triggerring Jenkins but Opened Event does

alc10485 September 8, 2020

Webhook Pull Request Approved Event not triggering Jenkins MultiBranch Pipeline

but Pull Request Opened, ReOpened, ReScoped does triggered.

Do you know why?

1 answer

0 votes
ktomk
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 8, 2020

This is hard to answer in detail as for me some more context is missing. In general I'd say it first of all makes sense to not trigger the Jenkins pipeline on PR approval (or decline). Question remains thought why you might think otherwise - or did I read that wrong?

This is my understanding:

Approving a pull-request does not change the contents/scope of the pull-request which is why there is no need to run the Jenkins pipeline again - it did already run on that revision.

Your mileage may vary thought. If you share a bit more of the context and what your motivation is, it might be possible to give better feedback and propose some more options.

Deleted user February 15, 2022

What if I only wanted to trigger the pipeline once the pull request was approved by the reviewer?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events