Where is the jobs/pipelines information saved on the GoCD server ?

56 views
Skip to first unread message

Satya Elipe

unread,
Jul 7, 2022, 9:14:47 AM7/7/22
to go-cd
Hi All

Wodering whether the jobs/pipelines information saved on the server as an xml/json etc ?

Many thanks
Satya

Chad Wilson

unread,
Jul 7, 2022, 10:04:59 AM7/7/22
to go...@googlegroups.com
The configuration for the server, plugins, along with all your pipelines/jobs etc is stored in a single big config.xml (and versioned controlled internally) - see reference at https://docs.gocd.org/current/configuration/configuration_reference.html or you can view it as an admin at /go/admin/config_xml. Storage location differs by installation, see the docs for whatever your platform is.
  • Some of this configuration for pipelines and logical environments can be externalised into your own source control repositories (pipelines as code) as YAML, JSON or Groovy via plugins, and GoCD will take care of synchronising this/merging it into the config.xml as it is updated.
  • As for metadata about jobs/pipelines, that is stored inside a database (on-disk H2 Database by default, PostgreSQL and MySQL as options).
  • Artifacts and job run logs etc are stored on disk
-Chad

--
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/3fb9cbd1-5b65-4d67-839e-fb3412f5c392n%40googlegroups.com.

Satya Elipe

unread,
Jul 7, 2022, 7:24:50 PM7/7/22
to go-cd
Thank you Chad, that was helpful and I could the info that I was looking for. 
Reply all
Reply to author
Forward
0 new messages