jenkinsci / gogs-webhook-plugin

Jenkins Gogs Webhook
https://plugins.jenkins.io/gogs-webhook/
MIT License
79 stars 42 forks source link

No ability to ignore user/commit from webhook push #29

Closed katanacrimson closed 6 years ago

katanacrimson commented 6 years ago

As on tin. If you commit things back into the repo, this triggers the webhook again with no way to ignore the commit, it seems.

sanderv32 commented 6 years ago

The webhook in Gogs is executed on every push, so how can we ignore the commit? The only thing I can think off is that we ignore the commit if you prefix it with for example IGN:.

sanderv32 commented 6 years ago

@damianb Will build in that if the message start with [IGNORE] the webhook will ignore the push.

sanderv32 commented 6 years ago

@damianb This is build into release 1.0.11.