Thank you @Ashwanthkumar

I have dropped mail to you. if you can help me I will be grateful
regards 
Nayan Makwana
On Tuesday, July 26, 2022 at 10:42:15 AM UTC+5:30 [email protected] 
wrote:

> Hello,
>
> Without getting into too much specifics, the way we used to construct 
> *conditional 
> workflows* are as follows: The condition is modelled as a stage in the 
> pipeline A usually. The If-true is pipeline B and if-else is pipeline C.So 
> you run your workflow and towards the end (on the last stage), you check 
> the condition you want and if it's true trigger pipeline B, else pipeline 
> C. You can use the APIs (or a simple cURL request to do that). This way you 
> get all the benefits of using GoCD pipelines like better visibility, 
> tracking, etc. To make identification easier, we also use the parent labels 
> to track things better.
>
> If you want any *(mutable) state* to be persisted and/or be available as 
> part of the pipeline or to its dependents, IMHO the best way is to write 
> the state in a file (JSON/CSV/text YMMV) and expose it as an/many artifacts 
> to be consumed later in the pipeline or fetch it in downstream for later 
> consumption.
>
> Thanks,
>
>
> On Tue, 26 Jul 2022 at 10:28, Nayan Makwana <[email protected]> wrote:
>
>> [image: Screenshot_1.png]
>>
>> i want to archive this kind of work flow
>> 1. the build process is not there because build is prepare by the 
>> developers
>> 2. i am stuck at condition based running pipeline 
>> 3 i want to define env or param which can be auto increase or decrease as 
>> per build id 
>>
>> Thanks In advance 
>>
>> -- 
>> 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/9bf8510b-d663-4c67-8572-adc91c766240n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/9bf8510b-d663-4c67-8572-adc91c766240n%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/8e17dc44-eccd-4bb3-ac31-ef5846d665e1n%40googlegroups.com.

Reply via email to