How can I allow anybody trigger a re-build on a public project?

xvorsx's Avatar

xvorsx

27 Apr, 2016 12:47 AM

Hello,

Our contributors (PowerShell GitHub org) face a problem:
Rarely AppVeyor builds fails / hangs and just need to be re-triggered.
Example: https://ci.appveyor.com/project/PowerShell/xexchange/build/1.6.140.0

Only members of our org can re-trigger them currently. And I cannot find a right way to setup permissions to allow it to anyone.
There is a workaround: a dummy commit that will re-trigger it. But it's pretty inconvenient.
I'd like to give everybody ability to re-trigger build. Is it possible?

-Sergei

  1. Support Staff 1 Posted by Feodor Fitsner on 27 Apr, 2016 12:55 AM

    Feodor Fitsner's Avatar

    Hi Sergei,

    What do you mean by everybody - any unauthenticated user?

  2. 2 Posted by xvorsx on 28 Apr, 2016 01:00 AM

    xvorsx's Avatar

    Yes

  3. Support Staff 3 Posted by Feodor Fitsner on 28 Apr, 2016 01:51 AM

    Feodor Fitsner's Avatar

    Well, that's pretty bold :)

    Basically, you can do a very simple page with huge "Re-build me" button calling AppVeyor API and host it on Azure Websites :)

  4. 4 Posted by xvorsx on 10 May, 2016 04:41 AM

    xvorsx's Avatar

    Why it's bold? :)
    Anybody can re-trigger build with pushing a dummy commit into their PR. So there is no "elevation of privileges".
    Well, ok, maybe re-trigger PR only build is the more correct way to put it.

    Building and hosting azure website, sure. But I just think it's a common scenario for OSS projects: you want to allow your contributors to re-trigger stuck builds. So I brought it up, because it can be beneficial for others.

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:06 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