How to import pipeline.gocd.yaml from github repo to build gocd pipeline

416 Views Asked by At

I'm quite new to go-cd. I have a pipeline.gocd.yaml in my git repo-in which i have defined my pipeline. Is there a way to I can import this into my go-cd server (through the agent) to build the pipeline. I can't seem to find a way. Any help will be much appreciated.

1

There are 1 best solutions below

0
user18562960 On

you can use the config repository plugin which scans the repo for any *.gocd.yaml files and automatically creates the pipeline, groups, configuration etc. https://github.com/tomzo/gocd-yaml-config-plugin