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

changed_files regexpFilterExpression doesn't work #318

Closed DreamPWJ closed 4 days ago

DreamPWJ commented 4 days ago

Explain your issue

I want to automate the build based on the module name recorded in git commit, But no matter how I write it, it doesn't work regexpFilterText: '_$ref_$git_message_$changed_files', regexpFilterExpression: '^' + '_(refs/heads/' + "${BRANCH_NAME}" + ')' + '_(release)' + '.*' + '_(.*'+ "${(IS_MONO_REPO == true || IS_MAVEN_SINGLE_MODULE == false) ? '\\' + "${PROJECT_NAME}" + '\\' : ''}" + '.*)'

DreamPWJ commented 4 days ago

“pengbo-park/pengbo-park-app/src/main/java/com/pengbo/park/app/controller/weixn/WeiXinPayController.java” get pengbo-park-app regexp is it not OK

DreamPWJ commented 4 days ago

@tomasbjerre Why is it so urgent to close? It's not a bug, just asking how to write

DreamPWJ commented 4 days ago

Because the document is relatively simple, I can only ask questions here

tomasbjerre commented 4 days ago

Impossible for me to help if you dont provide needed information.