create_bamboo_specs_yaml
Generates a bamboo-specs YAML file to set up a CI/CD pipeline with build commands, Docker image, and deployment environments.
Instructions
Generate a bamboo-specs YAML pipeline configuration file.
Creates a complete bamboo-specs/bamboo.yaml that defines CI/CD pipeline. This file can be committed to the repository to configure the plan via Bamboo Specs.
Args: project_key: The Bamboo project key (e.g., 'PROJ') plan_name: Display name for the plan plan_key: Short key for the plan (e.g., 'BUILD') repository_url: Git repository URL branch: Default branch to build (default: 'master') build_commands: List of build commands to execute docker_image: Optional Docker image for build agent deployment_environments: Optional list of deployment environment names (e.g., ['DEV', 'SIT', 'UAT', 'PROD'])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | master | |
| plan_key | Yes | ||
| plan_name | Yes | ||
| project_key | Yes | ||
| docker_image | No | ||
| build_commands | No | ||
| repository_url | Yes | ||
| deployment_environments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |