Triggering another project's build without a custom payload via GitHub
I've been attempting to find a way to trigger a build of a single project from a GitHub organization's webhook. The problem is that no matter which webhook I use in attempts to trigger a build, it always fails.
https://ci.appveyor.com/api/git/webhook?id=PROJECTID results in {"message":"Repository type does not match."}
https://ci.appveyor.com/api/github/webhook?id=PROJECTID results in {"message":"Push request and project repositories do not match."}
There's no way to use the AppVeyor API from GitHub without some sort of middleman to intercept and translate. I've used things such as https://github.com/huginn/huginn before, but ideally this wouldn't be needed.
Basically what I'm looking for is a way to trigger a build of the target project's latest source using the already secret URL, without the target project/AppVeyor expecting the payload to match it or anything really as it wouldn't matter. From what I can tell, AppVeyor doesn't have a way of doing this right now.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ilya Finkelshte... on 18 Nov, 2017 02:13 AM
Can you please elaborate your scenario more? Why repository webhooks do not work for you?
2 Posted by Ilya Finkelshte... on 18 Nov, 2017 02:14 AM
Maybe you just need this API?
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:25 AM.