Hello All,
I just joined as a devops engineer. I don't have any experience in the 
devops field. I read the document of go-cd and started learning but at some 
point. I have some problems as
1. Ihow to create a user in gocd
2. How can I use api with gocd
3. the biggest problem is can how auto-change env or param value after 
deployment as per version

can any help me to solve this

On Tuesday, July 26, 2022 at 11:11:09 AM UTC+5:30 Nayan Makwana wrote:

> 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/c10ace5c-ea19-4063-9f0c-5d408987687fn%40googlegroups.com.

Reply via email to