GoCD can't trigger upstream pipelines by design. The artifacts should ideally flow downwards (eg: from build -> dev -> staging -> prod) and not the other way around. You can set up pipelines such that if you trigger Pipeline 1 and it passes, it can trigger Pipeline 2 and so on.
In your case if you've update1 as a dependency of app1, why not have them in a single pipeline as 2 stages where you run update in the first stage and app1 in the second? Thanks, On Fri, 17 Mar 2023 at 01:12, Ertan Küçükoglu <[email protected]> wrote: > Hello, > > I am *very* new to GoCD. Just set it up today in a couple hours ago. > > I always would like to trigger all my pipelines manually. There are some > pipelines that I would like them to run after another pipeline. For > example, There is an "update" application which is in a subversion > repository. There is also "app1" application in another subversion > repository. > > My main purpose is to build "app1" but it also needs "update" so I would > like "update" pipeline to run automatically from scratch whenever I trigger > "app1". > > I setup myself single group and two pipelines in it as follows. > Pipeline1 "update" > Pipeline2 "app1" > > Pipeline2 has Pipeline1-BuildStage linked in its material tab. > > When I run Pipeline2, I would like to force run Pipeline1 completely. What > I mean by "completely" is as if I manually triggered pipeline1 run button > on the dashboard. > > I could not do that for now. > > I think GoCD check Pipeline1 and see it is built successful and it is set > to manual triggering and does not run it at all. > > I read documents and made some google searches, but no luck. I believe I > am missing something. > > Any help is appreciated. > > Thanks & Regards, > Ertan > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/d4dc059a-c025-4574-b288-f6feeef47bb6n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/d4dc059a-c025-4574-b288-f6feeef47bb6n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Ashwanth Kumar / ashwanthkumar.in -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAD9m7Cx9YyLffy2V2uZE4ajYv-oJ-8YwVdAUuY8r-B4DivaRuw%40mail.gmail.com.
