I want to start a Jenkins as soon as a tag is pushed on Gogs.
What I have already done:
- I installed Gogs Webhook plugin on Jenkins and configured the secret
- I configured webhook in Gogs to invoke Jenkins job
This works if I use push event, but when I try to use Create event I get the following response error :
{"result":"ERROR","message":"Only push event can be accepted."}
How can I do to pass tag version to the Jenkins job?