-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gogs-webhook didn't support gogs release event #45
Comments
@sagaii what should the release event do other then triggering a job? |
Gogs-webhook receive release event , triggering a job. and the job can execute deploy work,t example copy program from test environment to production environment. |
in this gogs-webhook didn't support release event. so i only use build token root plugin , create a url link to triggering a job. |
It's not so hard to also make it respond to a release event but that will do exactly the same as a push event. |
yes, i think so . it same as a push event. but i need it . :) . |
hello i would also need a feature like this, the jenkins plugin should react on tag creation, reacting on release creation would also work, since it basically creates a tag. |
Hello |
+1 |
2 similar comments
+1 |
+1 |
Opened PR #62 for this. |
Description
I had tried to config my gogs system to support auto release my test version to work version.
so i hope in gogs system create one repo version , it will send out one webhook event . in fact, gogs had
support the funciton. i had choosed event of repo release . it give out this post data:
Request URL: http://jenkins.address/gogs-webhook/?job=releasedb/copytest
Request method: POST
Content-Type: application/json
X-Gogs-Delivery: 7f96dbfc-c93a-4247-8528-0c7e1566c53d
X-Gogs-Event: release
X-Gogs-Signature: 03cfb231c9c643277fae62bd318538e9e77157c630cb1373e7f37ab84cc14e94
I had read gogs=webhook source code , in webhook.java , it only receive "push" event.
so , i hope it can add "release" and other's event.
thx.
...
The text was updated successfully, but these errors were encountered: