jenkinsci / gogs-webhook-plugin

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

jenkins do not act on "Release" #34

Closed danielecr closed 6 years ago

danielecr commented 6 years ago

only_release When selected only release on gogs webhook, jenkins does not undersand and does not start pipeline. When selected "Push" them it works. I release by:

git tag vXX
git push --tags
sanderv32 commented 6 years ago

Are you sure this is a gogs-webhook-plugin problem and not a gogs problem? Tested it myself but with the release checkbox checked no webhook is triggered. TCPDUMP also didn't show up any packets on the webhook, so I suspect gogs is the problem.

sanderv32 commented 6 years ago

Investigated the problem but Gogs isn't triggering the webhook. This issue is also reported here #5042. Secondly until now we only trigger on push events, see line 104 in the file GogsWebHook.java. If the Gogs issue is solved we can take a look if we can implement this in this webhook. Will close this issue.