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 teamsInSpace = new Project().key("TIS"); Plan gettingToMars = new Plan(teamsInSpace, "Get to Mars", "MARS") .stages(new Stage("Rocket assembly") .jobs(new Job("Gather parts", "PARTS") .tasks( new ScriptTask() .interpreterShell() .inlineBody("echo 'OK'"))));
|Perfect for simple use cases and easy to set up|
|No dependencies on external tools|
|Programming language agnostic|
version: 2 plan: project-key: TIS key: MARS name: Get to Mars stages: - Rocket assembly: - Gather parts Gather parts: tasks: - script: echo 'OK'