How to detect only GitHub merged branch event with Jenkins?

Multi tool use
up vote
1
down vote
favorite
I need some help to understand some basic and advanced concepts.
I configured a webhook on GitHub to send the event and created a job "GitHub hook trigger for GITScm polling" on Jenkins. I can detect each commit/push... But I only want to run a pipeline when a "Branch A" merged to "Branch B". Do you know how to do this ? Thank you.
jenkins github jenkins-pipeline
add a comment |
up vote
1
down vote
favorite
I need some help to understand some basic and advanced concepts.
I configured a webhook on GitHub to send the event and created a job "GitHub hook trigger for GITScm polling" on Jenkins. I can detect each commit/push... But I only want to run a pipeline when a "Branch A" merged to "Branch B". Do you know how to do this ? Thank you.
jenkins github jenkins-pipeline
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I need some help to understand some basic and advanced concepts.
I configured a webhook on GitHub to send the event and created a job "GitHub hook trigger for GITScm polling" on Jenkins. I can detect each commit/push... But I only want to run a pipeline when a "Branch A" merged to "Branch B". Do you know how to do this ? Thank you.
jenkins github jenkins-pipeline
I need some help to understand some basic and advanced concepts.
I configured a webhook on GitHub to send the event and created a job "GitHub hook trigger for GITScm polling" on Jenkins. I can detect each commit/push... But I only want to run a pipeline when a "Branch A" merged to "Branch B". Do you know how to do this ? Thank you.
jenkins github jenkins-pipeline
jenkins github jenkins-pipeline
asked Nov 9 at 8:41


GoA Oz
589
589
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53222333%2fhow-to-detect-only-github-merged-branch-event-with-jenkins%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
oN73KBDDZ,QsBp,b hZ2 IIVcHjmTEABhM3kgsKou0U2hg3t,4UCF,3xvvIB2 PCj7S