Add bamboo lab
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
source_files:
|
||||
- repository_slug: NEW/ROCKET
|
||||
- repository_slug: SAM/SAMPLE
|
||||
path: bamboo/bootstrap/source_files/bamboo/bamboo.yml
|
||||
|
||||
@@ -1,29 +1,61 @@
|
||||
---
|
||||
version: 2
|
||||
|
||||
plan:
|
||||
project-key: SAM
|
||||
key: SAMPLE
|
||||
name: Sample Plan
|
||||
stages:
|
||||
- Build the rocket stage:
|
||||
manual: false
|
||||
final: false
|
||||
jobs:
|
||||
- Build
|
||||
Build:
|
||||
key: JOB1
|
||||
tasks:
|
||||
- checkout:
|
||||
force-clean-build: false
|
||||
- script:
|
||||
interpreter: SHELL
|
||||
scripts:
|
||||
- |-
|
||||
mkdir -p falcon/red
|
||||
echo wings > falcon/red/wings
|
||||
sleep 1
|
||||
echo 'Built it'
|
||||
artifacts:
|
||||
- name: Red rocket built
|
||||
pattern: falcon/red/wings
|
||||
shared: true
|
||||
required: true
|
||||
artifact-subscriptions: []
|
||||
variables:
|
||||
global_variable: global_variable_value
|
||||
plan_variable_override: plan_variable_overrid
|
||||
|
||||
plan:
|
||||
project-key: NEW
|
||||
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'
|
||||
# Job's artifacts. Artifacts are shared by default.
|
||||
artifacts:
|
||||
- name: Red rocket built
|
||||
pattern: falcon/red/wings
|
||||
repositories:
|
||||
- yaml-test-repo:
|
||||
scope: global
|
||||
triggers:
|
||||
- polling:
|
||||
period: '180'
|
||||
branches:
|
||||
create: for-new-branch
|
||||
delete:
|
||||
after-deleted-days: 1
|
||||
after-inactive-days: 30
|
||||
link-to-jira: true
|
||||
notifications:
|
||||
- events:
|
||||
- plan-failed
|
||||
recipients:
|
||||
- responsible
|
||||
- watchers
|
||||
labels: []
|
||||
dependencies:
|
||||
require-all-stages-passing: false
|
||||
enabled-for-branches: true
|
||||
block-strategy: none
|
||||
plans: []
|
||||
other:
|
||||
concurrent-build-plugin: system-default
|
||||
|
||||
Reference in New Issue
Block a user