Bamboo Specs YAML format
Bamboo Specs YAML allows for a single plan definition in a single YAML file and accepts the following format:
---
project:
key: DRAGON
plan:
key: SLAYER
name: Dragon Slayer Quest
# List of plan's stages
stages:
#List of stage's jobs
- jobs:
# Scripts which are going to be executed within this job
- scripts:
- echo 'Going to kill the red dragon, watch me'
- sleep 1
- echo 'Nailed it'
# Job's requirements. Only matching type 'exists' is supported
requirements:
- isDragonLazy
# Job's artifacts. All artifacts are shared ones.
artifacts:
- name: Red dragon's head
path: dragon/red/head
# Job's test parsers.
testParsers:
- type: mocha
testResults: '**/mocha/*.json'
- type: junit
testResults: '**/junit/*.xml'
...
Bamboo YAML Specs allows for configuring test parsers with a simplified format. You can use one of the following configurations:
testParsers:
- mocha
- junit
testParsers:
- type: mocha
testResults: '**/mocha/*.json'
- type: junit
testResults: '**/junit/*.xml'
testParsers:
- type: mocha
testResults:
- xxx.json
- type: junit
testResults:
- '**/test-reports/*.xml'
- '**/custom-test-reports/*.xml'
Last modified on Mar 21, 2018
Powered by Confluence and Scroll Viewport.