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

RegExFilterText Not Evaluating Variable? #122

Closed
AmarettoSlim opened this issue Jun 19, 2019 · 2 comments
Closed

RegExFilterText Not Evaluating Variable? #122

AmarettoSlim opened this issue Jun 19, 2019 · 2 comments
Labels

Comments

@AmarettoSlim
Copy link

AmarettoSlim commented Jun 19, 2019

Hi @tomasbjerre, I'm banging my head at trying to get the RegExFilterText to work and I'm hoping you might be able to help me ...

Below is a screenshot of my call via Postman:

image

It looks as though my variables are being populated correctly and I think my regex expression and text is correct but it's not triggering. I've built the job a couple times manually and then attempted to call it via a POST and I've been unsuccessful.

If I change the text to be hardcoded as master, it works. Is the issue that the variable $PR_TO_BRANCH isn't being evaluated?

image

I'm running:

Jenkins 2.164.3
Generic Webhook Trigger Plugin 1.54

Any idea what's going on?

Thank you for your time, I appreciate you reading this!

@tomasbjerre
Copy link
Contributor

Remove the $ from the variable names in "post content parameters". Your second screenshot.

@AmarettoSlim
Copy link
Author

Ugh, silly mistake on my part, that worked, thanks Tomas!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants