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

why the Optional filter Expression was reset again and again #264

Closed wxcoin closed 1 year ago

wxcoin commented 1 year ago

i set trigger from harbor , at the jenkins side the Optional filter Expression alway auto reset to wrong content like "pushImage#xxxx#xxxx" or "pushImage#library#nav" caused it unfunctionally after i set the right Optional filter Expression Optional filter like below: Expression PUSH_ARTIFACT#welcome-micro#gateway-17779-online Text $harbor_type#$harbor_namespace#$repo_name

or let it empty and tirgger jenkins build sucessfully.

tomasbjerre commented 1 year ago

Do you use pipeline? Do you have properties in that pipeline? If so, the pipeline will set those properties on the job in every build.

wxcoin commented 1 year ago

thanks to your reminder ,i recheck the pipeline and find it was defined in the pipeline。 i copy the pipeline from the net, and didn't understand it clearly at first ,haha ,now it's ok