Open tuc0w opened 4 years ago
Do you mean to trigger a manual pipeline?
I was thinking about adding some kind of mechanism to retry a pipeline, but this sounds like a different action, isn't it?
Yes you're right this would be:
POST /projects/:id/pipelines/:pipeline_id/retry
triggering new build uses this endpoint:
POST /projects/:id/trigger/pipeline
@SantiMA10 do have any idea when you can work on this? At the moment I am using API Ninja to achive this, but a more "native" feeling with your Plugin would be great :)
@tuc0w sorry, but I'm a bit busy lately, I will work on it when I have some free time
meanwhile, if you want to work on it I will be happy to review a PR
Maybe we can add this a long-press action, following this example: https://github.com/elgatosf/streamdeck-counter/blob/master/Sources/com.elgato.counter.sdPlugin/code.html
It would be great to be able to trigger a specific pipeline to run by the press of a button. It should be easy to implement, it's just a POST: https://docs.gitlab.com/ee/ci/triggers/#triggering-a-pipeline