Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONPath fail to match in Jenkins. Work on test page. #117

Open
Lukas238 opened this issue May 17, 2019 · 1 comment

Comments

2 participants
@Lukas238
Copy link

commented May 17, 2019

Hi,

I want to trigger a Job only when a specific branch is pushed.

As per the documentation, I added a JSONPath to match the variable I need from the posted JSON payload (posted by the bitbucket webhook).

I manage to capture the actual webhook post payload, and tested my JSONPath against, successfully.

But when the webhook is triggered on Jenkins, the JSONPath fail to match anything, and returns empty.


I'm using:

  • Jenkins ver. 2.150.3
  • Generic Webhook Trigger Plugin 1.54

Thanks!

@tomasbjerre

This comment has been minimized.

Copy link
Contributor

commented May 18, 2019

This part of the jenkins_response.txt tells me there is no filter configured in the job:

        "regexpFilterExpression": "",
        "regexpFilterText": "",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.