Skip to main content

Jenkins

Follow Jenkins' official documentation to setup pipeline.

Example CLI recipe:

ugs --version
ugs config get project-id
ugs status
ugs env list -j
ugs deploy <directory-with-service-configurations> -j

To set environment variables, see the EnvInject Jenkins plugin.

Example environment variable configuration:

UGS_CLI_PROJECT_ID=your-project-id
UGS_CLI_SERVICE_KEY_ID=your-service-key-id
UGS_CLI_SERVICE_SECRET_KEY=your-service-secret-key