Bamboo Specs YAML format
Bamboo Specs YAML allows for a multiple entities definition in a single YAML file and accepts the following format:
---
version: 2
plan:
project-key: MARS
key: ROCKET
name: Build the rockets
# List of plan's stages and jobs
stages:
- Build the rocket stage:
- Build
#Job definition
Build:
tasks:
- script:
- mkdir -p falcon/red
- echo wings > falcon/red/wings
- sleep 1
- echo 'Built it'
- test-parser:
type: junit
test-results: '**/junit/*.xml'
# Job's requirements
requirements:
- isRocketFuel
# Job's artifacts. Artifacts are shared by default.
artifacts:
- name: Red rocket built
pattern: falcon/red/wings
---
version: 2
deployment:
name: Deploy Rocket
source-plan: MARS-ROCKET
release-naming:
next-version-name: 0.${bamboo.buildNumber}
environments:
- QA
QA:
tasks:
- clean
- artifact-download:
destination: /
- script:
- echo 'Hello space'
Last modified on Aug 10, 2021
Powered by Confluence and Scroll Viewport.