Closed linuxoid69 closed 1 year ago
One trigger means one invocation, one call to /generic-webhook-trigger/invoke
. The intention is to let each individual invocation trigger exactly one build. Should solve these issues where several triggers has been triggering same build: #64 #116 #126 #162 #171 #252
When reporting a bug, please try to provide as much information as possible.
curl
command and its response.You may also have a look at the test cases as they should answer the most common questions:
https://github.com/jenkinsci/generic-webhook-trigger-plugin/tree/master/src/test/resources/org/jenkinsci/plugins/gwt/bdd
If you are fiddling with expressions, you may want to checkout:
A Curl command can look something like this:
I suppose that line contains not correct condition.
https://github.com/jenkinsci/generic-webhook-trigger-plugin/blob/aa6370b2930ac940ad7a210bff56ecf1aa129c2a/src/main/java/org/jenkinsci/plugins/gwt/ParameterActionUtil.java#L25
Correct as
final boolean triggerOneBuildPerInvocation = allowSeveralTriggersPerBuild;