cops bamboo deploy commands let you inspect Bamboo deployment environments. They call the Bamboo REST API (/rest/api/latest/deploy/environment).
cops bamboo deploy env get
cops bamboo deploy env get
Get details for a Bamboo deployment environment by environment ID.
Usage
Flags
Deployment environment ID (integer). Find environment IDs in your Bamboo deployment project configuration.
Output format:
table, json, or markdown.Disable TLS certificate validation. Use only with self-signed certificates in trusted networks.
Override the active config profile.
Output columns
id, name, description, deploymentProjectId, deploymentProjectName| Column | Description |
|---|---|
id | Environment ID |
name | Environment name (e.g. Production) |
description | Environment description |
deploymentProjectId | Parent deployment project ID |
deploymentProjectName | Parent deployment project name |
Examples
cops bamboo deploy env results
cops bamboo deploy env results
List recent deployment results for a Bamboo deployment environment.
Usage
Flags
Deployment environment ID (integer).
Maximum number of deployment results to return.
Output format:
table, json, or markdown.Disable TLS certificate validation. Use only with self-signed certificates in trusted networks.
Override the active config profile.
Output columns
version, state, lifeCycle, startedAt, finishedAt, triggeredBy| Column | Description |
|---|---|
version | Deployment version name |
state | Deployment state (e.g. SUCCESS, FAILED) |
lifeCycle | Lifecycle state (e.g. FINISHED) |
startedAt | ISO datetime the deployment started |
finishedAt | ISO datetime the deployment finished |
triggeredBy | User or system that triggered the deployment |
Examples
Related
cops bamboo plan
Fetch plan details and check plan status.
cops bamboo build
Get the latest build result for a plan.
