Skip to content

shadowguardian507-irl/gocd-api-to-json-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gocd-api-to-json-config

Tool for extracting pipeline config from GO Continuous Delivery servers and converting it to the JSON Config format.

Installation

npm i -g gocd-api-to-json-config

Create .go-credentials configuration file in either your user's home directory, or the Current Working Directory where you wish to save the config files to.

{ "username": "my-username", "password": "my-password" }

The go user credentials will require API access to function correctly.

Usage

Navigate to where you want to save the config files.

To Export a specific Pipeline:

goconfig pipeline Existing.Pipeline -h mygoserver.com:8153 -g MyTargetGroup

To Export all pipelines in a specified Group:

goconfig group PipelineGroup -h mygoserver.com:8153

Options

-h, --help                output usage information
-V, --version             output the version number
-h, --host <host>         GO Server host
-g, --tagetgroup <group>  GO Pipeline Group to set pipelines for (required for pipeline mode)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published