git-resource icon indicating copy to clipboard operation
git-resource copied to clipboard

How to trigger on changes from any branch?

Open f0o opened this issue 4 years ago • 2 comments

Title states it practically.

I'd like to be able to watch a repo an all it's branches and tags and run pipelines/jobs against them.

f0o avatar Nov 17 '20 11:11 f0o

It is possible with instanced pipelines.

patmaddox avatar Apr 21 '21 18:04 patmaddox

Instanced pipelines are great if you know the list of branches beforehand and don't mind adding new instances as branches are created. If you want to dynamically generate new instanced pipelines when new branches are created, though, there's not a great way to do so (that I know of). It would be nice if this resource could return a list of branches in the remote repository somehow so it could be passed to a pipeline to generate the instanced pipelines.

grzleadams avatar Jun 04 '21 11:06 grzleadams