Bamboo: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:


Plans can be configured at any time after creation: Projects -> the project in question -> Select the Plan -> Actions drop down -> Configure plan.
Plans can be configured at any time after creation: Projects -> the project in question -> Select the Plan -> Actions drop down -> Configure plan.
==Repository==
One or more repositories can be added to a [[#Plan|plan]], which will be available to every [[#Job|job]] in the plan. The first repository in the list is the plan’s '''default repository'''. The repositories to which a trigger applies can be selected in respective trigger's configuration.


==Stage==
==Stage==

Revision as of 00:10, 1 November 2018

Overview

Concepts

Project

Plan

A build plan. It defines everything about your build process. Each plan has a Default job when it is created. More advanced configuration options, including those for plugins, and the ability to add more jobs will be available to you after creating this plan. It belongs to a project.

Plans can be configured at any time after creation: Projects -> the project in question -> Select the Plan -> Actions drop down -> Configure plan.

Repository

One or more repositories can be added to a plan, which will be available to every job in the plan. The first repository in the list is the plan’s default repository. The repositories to which a trigger applies can be selected in respective trigger's configuration.

Stage

Each stage within a plan represents a step within your build process. A stage may contain one or more jobs which Bamboo can execute in parallel.

Job

Each plan has a default job when it is created. A job has multiple tasks. More than one job can be added to a plan.

Default Job

Build Isolation

Builds are normally run in the agent's native operating system ("Agent environment" choice). The build could be run in an isolated and controlled environment with Docker ("Docker container" option). The build isolation can be changed after a plan is defined with Plan -> Actions: Configure Plan -> Select Job -> "Docker" tab.

Typical Tasks for the Default Job

  • Source Code Checkout: Tasks -> Add task -> Source Control -> Source Code Checkout. Task description: "GitHub checkout", Repository: must be pre-configured.

Task