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 Posted by Feodor Fitsner Support staff on 27 Apr, 2016 12:55 AM
Hi Sergei,
What do you mean by everybody - any unauthenticated user?
#2 Posted by xvorsx on 28 Apr, 2016 01:00 AM
Yes
#3 Posted by Feodor Fitsner Support staff on 28 Apr, 2016 01:51 AM
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 Posted by xvorsx on 10 May, 2016 04:41 AM
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.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:06 AM.