Triggering another project's build without a custom payload via GitHub

Luke's Avatar

Luke

17 Nov, 2017 06:17 PM

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.

  1. 1 Posted by Ilya Finkelshte... on 18 Nov, 2017 02:13 AM

    Ilya Finkelshteyn's Avatar

    Can you please elaborate your scenario more? Why repository webhooks do not work for you?

  2. 2 Posted by Ilya Finkelshte... on 18 Nov, 2017 02:14 AM

    Ilya Finkelshteyn's Avatar

    Maybe you just need this API?

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:25 AM.

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

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM