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'])
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_key": "<project_key>",
"plan_name": "<plan_name>",
"plan_key": "<plan_key>",
"repository_url": "<repository_url>"
},
"name": "create_bamboo_specs_yaml"
}
}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 |