Downloading yaml config of UI configured jobs

28 views
Skip to first unread message

HUSSEIN KADIRI

unread,
May 11, 2021, 8:27:30 PM5/11/21
to go...@googlegroups.com
Hi,
How do I download a yaml version of a UI configured job?
I want to download it so I can check it in to my pipeline config repo.

Marques Lee

unread,
May 11, 2021, 8:39:41 PM5/11/21
to go...@googlegroups.com
There’s a pipeline export function — if you go to Admin > Pipelines you will see a list of your pipelines. To the right of each pipeline there is a download icon where you can choose the syntax you want to export the config as. A save dialog will pop up and you can save the YAML file where you want.

-Marques

--
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 go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAFD%2B7Dnj%3D%3Dsp96Z55MmsCi9dy8QJeYnJfS52MfrcoD%3D%2B6Q8ppA%40mail.gmail.com.

Aravind SV

unread,
May 14, 2021, 7:11:56 AM5/14/21
to go...@googlegroups.com

There’s a pipeline export function — if you go to Admin > Pipelines you will see a list of your pipelines.

As with almost everything in the UI, there is also an API for this:

https://api.gocd.org/current/#export-pipeline-config-to-config-repo-format

Cheers,
Aravind

Reply all
Reply to author
Forward
0 new messages