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
410 stars 162 forks source link

Adding a FINE level log message when effectively triggering #327

Closed xsimo closed 3 weeks ago

xsimo commented 3 weeks ago

Using Jenkins' LogRecorder, we can access log messages that are set more verbose than INFO (i.e., CONFIG, FINE, FINER, FINEST). When doing so, to see which job got triggered we currently have to proceed by elimination. Adding this log message can help determining which job got triggered by a specific webhook call.

https://github.com/jenkinsci/generic-webhook-trigger-plugin/issues/93

https://github.com/jenkinsci/generic-webhook-trigger-plugin/pull/227

Testing done

this single liner does not require test.

Submitter checklist

tomasbjerre commented 3 weeks ago

Thanks