Bamboo Specs recognize two ways of creating plans, with Java or YAML. Select the one that matches your needs best.
|
Complete Bamboo features coverage |
|
IDE support, code autocompletion, code refactoring |
|
Language features such as loops, libraries etc. |
|
Offline and online validation |
Project project = new Project().key("DRAGON");
Plan plan = new Plan(project,
"Dragon Slayer Quest",
"SLAYER")
.stages(new Stage("Default Stage")
.jobs(new Job("Default Job", "JOB")
.tasks(new ScriptTask()
.interpreterShell()
.inlineBody(
"echo 'Going to kill " +
"the dragon, watch me'"))));
|
Perfect for simple use cases and easy to set up |
|
No dependencies on external tools |
|
Programming language agnostic |
|
Online validation |
---
version: 2
plan:
project-key: PRO
key: PLAN
name: Build a Rocket Plan
stages:
- The first stage:
jobs:
- Build server
Build server:
tasks:
- script: echo 'hello world'