jenkinsci / generic-webhook-trigger-plugin

Can receive any HTTP request, extract any values from JSON or XML and trigger a job with those values available as variables. Works with GitHub, GitLab, Bitbucket, Jira and many more.
https://plugins.jenkins.io/generic-webhook-trigger
404 stars 159 forks source link

Not able to trigger the job from bitbucket using generic webhook of jenkins. #249

Closed pawan-1999 closed 1 year ago

pawan-1999 commented 1 year ago

Hello Engineers,

When I commit the code in xxxx repo to developTest branch with token test it should trigger job but its not triggering

when validating the regex expression for entire body getting expected output but when I commit and see the webhook request in bitbucket above is the response of body.

please support.

Thanks & Regards Pawan Gupta

tomasbjerre commented 1 year ago

Can you supply curl commands as described in the readme? Supply a curl command that you think should trigger a build.

pawan-1999 commented 1 year ago

The job should be triggered when the commit is done on specific branch that is not happening. Please check the body which i shared in issue.

On Wed, 28 Sep, 2022, 9:33 pm Tomas Bjerre, @.***> wrote:

Can you supply curl commands as described in the readme? Supply a curl command that you think should trigger a build.

— Reply to this email directly, view it on GitHub https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/249#issuecomment-1261129119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR5YIV4WR5DJRPX4NQIBCNDWART67ANCNFSM6AAAAAAQX22YRM . You are receiving this because you authored the thread.Message ID: @.*** com>

tomasbjerre commented 1 year ago

The body being sent to the plugin is what Im asking for.

pawan-1999 commented 1 year ago

Ok I will share the entire body from that i am able to fetch the branch name but still plugin is not working as expected. I will share the entire body tomorrow morning please have a look and guide.

Thanks & Regards Pawan

On Wed, 28 Sep, 2022, 10:14 pm Tomas Bjerre, @.***> wrote:

The body being sent to the plugin is what Im asking for.

— Reply to this email directly, view it on GitHub https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/249#issuecomment-1261175278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR5YIV3H6XL7TGAZJGSRWKLWARYXDANCNFSM6AAAAAAQX22YRM . You are receiving this because you authored the thread.Message ID: @.*** com>