-
Thanks for using OneDev. Currently there is no conditional webhook. Will consider this in future versions.
-
@robin thank you for your reply and considering implementing this feature.
A small addition to my earlier proposal: when the "build" event type is used, the webhook is called immediately after the build starts. It would be useful to be able to select multiple conditions/options, such as: "when build starts", "when build is completed", "when build fails", "when build succeeds".
| Type |
Improvement
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
Hi Robin,
First of all: thanks for creating Onedev! It is a great project and I really enjoy it.
I am not sure if I am overlooking something, but I am missing one feature: the ability to add conditions to webhooks. I want to trigger a specific webhook when code is pushed to a specific branch. The code push trigger works fine, but it triggers the webhooks on every push on every branch. It would be great if you could optionally specify a specific branch per webhook.
Another improvement would be to add an option to replace/expand the payload sent to the webhook (with variables).