Top Banner
an introduction
47

Bamboo - an introduction

Oct 21, 2014

Download

Documents

Bamboo is a continuous integrations server from Atlassian. But Bamboo is much more than that. See, how a modern CI-Server goes further with automated building, testing, deploying, and releasing of your software.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Bamboo - an introduction

an introduction

Page 2: Bamboo - an introduction

Sven Peters

@svenpethttp://svenpet.com

Happy Ambassador

Page 3: Bamboo - an introduction

@svenpethttp://svenpet.com

I'm just a Bamboo beginner, too

Page 4: Bamboo - an introduction

Who knows this guy?

Page 5: Bamboo - an introduction

CI Basics

Page 6: Bamboo - an introduction

CI Basicsvery

code change

code change

trunk / master

Page 7: Bamboo - an introduction

Good job, mate!

Page 8: Bamboo - an introduction

Do you want

more?

Page 9: Bamboo - an introduction

take a l!k1

Page 10: Bamboo - an introduction

1Basics

Page 11: Bamboo - an introduction

Basics

Plan

Naming

Page 12: Bamboo - an introduction

Basics

Plan

Stage Stage Stage

Naming

Page 13: Bamboo - an introduction

Basics

Plan

Stage Stage Stage

Job

Job

JobJob Job

Job

Naming

Page 14: Bamboo - an introduction

Basics

Plan

Stage Stage Stage

Job

Job

JobJob Job

Job

Naming

Page 15: Bamboo - an introduction

Basics

Stage

Job

Job

Stage Triggers

Page 16: Bamboo - an introduction

Basics

Stage

Job

Job

automatica"y

Stage Triggers

Page 17: Bamboo - an introduction

Basics

Stage Stage

Job

Job

Job

automatica"y

Stage Triggers

Page 18: Bamboo - an introduction

Basics

Stage Stage Stage

Job

Job

JobJob Job

Job

automatica"y manual

Stage Triggers

Page 19: Bamboo - an introduction

BasicsStage Triggers

deploy

you know what you're doing

Page 20: Bamboo - an introduction

Parallel & Distributed Jobs 2

Page 21: Bamboo - an introduction

A Job is executed by an agent

JobJobJobJob Job

Page 22: Bamboo - an introduction

Agents are running parallel

Job

JobJobJob Job

Job

Page 23: Bamboo - an introduction

Agents can run distributed

Job

JobJobJob Job

Job

also on Amazon EC2

Page 24: Bamboo - an introduction

Bamboo is collecting the resultsstart the next stage

automatica"y?

StageJob

Job

Page 25: Bamboo - an introduction

Tests in quarantine 3

Page 26: Bamboo - an introduction

Keep to buildgreen

always

Page 27: Bamboo - an introduction

What if you have a flaky test?

...and no time to l!k at it?

Page 28: Bamboo - an introduction

Run the job and ignore the flaky test

JobTest

Test

Testtest in quarantine

Page 29: Bamboo - an introduction

quarantine

Page 30: Bamboo - an introduction

JIRA integration 4

Page 31: Bamboo - an introduction

create issue

in

Page 32: Bamboo - an introduction

in

See build related issues

Page 33: Bamboo - an introduction

in

See issue related builds

Page 34: Bamboo - an introduction

Bamboo & Branches 5

Page 35: Bamboo - an introduction

builds are tri'ered by main branch

Page 36: Bamboo - an introduction

manua"y configure new branches

Page 37: Bamboo - an introduction

manua"y configure new branches

Bamb( configures new branches

Page 38: Bamboo - an introduction

Auto detect branches

Bamb( deletes it again(no activity)

Page 39: Bamboo - an introduction

This is notcontinuous

integration

Some people say about feature branches:

Page 40: Bamboo - an introduction

Auto merge branches

master

change

feature branch

push changes

Option #1

Page 41: Bamboo - an introduction

Auto merge branches

feature branch

change

master

push changes

Option #2

Page 42: Bamboo - an introduction

Dem Time

Page 43: Bamboo - an introduction
Page 44: Bamboo - an introduction

Do you want

more?

Page 45: Bamboo - an introduction

Jenkins importer

Locate Jenkins Choose Jobs Done

Page 46: Bamboo - an introduction

atlassian.com/bamboo

Page 47: Bamboo - an introduction

Build something!

svenpet.com/slides

@svenpethttp://svenpet.com