Atlassian Bamboo Feature Overview

28
Jim Bethancourt @ Houston JUG meeting Nov 30 th 2016 All images property of Atlassian

Transcript of Atlassian Bamboo Feature Overview

Page 1: Atlassian Bamboo Feature Overview

Jim Bethancourt @ Houston JUG meeting Nov 30th 2016All images property of Atlassian

Page 2: Atlassian Bamboo Feature Overview

AGENDA• Supported Platforms• Continuous Integration

• Unified workflow• Continuous Delivery

Page 3: Atlassian Bamboo Feature Overview

SUPPORTED PLATFORMS

Page 4: Atlassian Bamboo Feature Overview

SUPPORTED OSSES• Windows (installer available)• Linux • Solaris• Mac OSX• Docker (agents)• Can run on AWS (server and agents)• Elastic AWS agent capability

Page 5: Atlassian Bamboo Feature Overview

USER AUTHENTICATION• LDAP / AD• JIRA (Bamboo admin users only – not ideal for large installations)• Crowd – supports SSO

Page 6: Atlassian Bamboo Feature Overview

SUPPORTED DATABASES• MySQL• Oracle• Postgres• MSSQL• HSQLDB (bundled – eval only)

Page 7: Atlassian Bamboo Feature Overview

SUPPORTED SOURCE REPOSITORIES

• Git• GitHub• SVN• Mercurial• Perforce• CVS• Bitbucket Server• Bitbucket Cloud• Repositories in FishEye• Shallow cloning available for some repo types

Page 8: Atlassian Bamboo Feature Overview

SUPPORTED BUILD SYSTEMS• Ant• Custom command executable (e.g. Gradle)• Grails• Maven (repository isolation per agent is available)• MSBuild• NAnt• Script• Visual Studio• Xcode• Multiple versions of tools / SDKs supported, many autodetected

Page 9: Atlassian Bamboo Feature Overview

SUPPORTED UNIT TEST FRAMEWORKS

• JUnit Parser• MBUnit Parser• MSTest Parser• MSTest Runner• NUnit Parser• NUnit Runner• PHPUnit• TestNG• Clover (for test coverage stats + coverage history stats)

Page 10: Atlassian Bamboo Feature Overview

CAPACITY TIERS / PRICING• Up to 5 month trial with 25 remote agents• 10 Plan starter license - $10 • 1 Remote Agent - $800• 5 Remote Agents - $2,200• 10 Remote Agents - $4,000• 25 Remote Agents - $8,000• 100 Remote Agents - $16,000• 250 Remote Agents - $40,000• Server can have unlimited agents• Annual maintenance is half of initial license cost

Page 11: Atlassian Bamboo Feature Overview

UPGRADES• Upgrades only require upgrading the server• Agents are automatically upgraded via network classloader

Page 12: Atlassian Bamboo Feature Overview

CONTINUOUS INTEGRATION

Page 13: Atlassian Bamboo Feature Overview

BUILD PIPELINE

Page 14: Atlassian Bamboo Feature Overview

JOB PARALLELIZATION – FASTER FUNCTIONAL TESTS!

Page 15: Atlassian Bamboo Feature Overview

PLAN OPTIMIZATION• Concurrent plan executions can be enabled if checkins occur more

frequently than the build executes• A Quiet Period can be set to allow multiple checkins to be picked up at

once and improve the feedback cycle. Useful for large projects.

Page 16: Atlassian Bamboo Feature Overview

BUILD TRIGGERS• Manual• Timer• Cron job• Code commit (detected via polling)• Code push

• Bitbucket Server• Bitbucket Cloud

Page 17: Atlassian Bamboo Feature Overview

QUARANTINE UNIT TEST FAILURES

• Failing tests can be quarantined and assigned• This allows builds to pass when there are failing tests

Page 18: Atlassian Bamboo Feature Overview

UNIFIED DEV WORKFLOW

Page 19: Atlassian Bamboo Feature Overview

CREATE BRANCH IN BITBUCKET FROM JIRA

• Click on the Branch link in JIRA• A branch is created in Bitbucket• A Bamboo plan branch is automatically created in Bamboo

• Dedicated to building this branch• Plan branch will inherit configuration of Bamboo plan, but can be

configured independently • Branch and branch build results are shown in the JIRA ticket

Page 20: Atlassian Bamboo Feature Overview

MASTER IS MERGED INTO THE FEATURE BRANCH

(AND PUSHED WHERE YOU LIKE)

Page 21: Atlassian Bamboo Feature Overview

DEMO!

Page 22: Atlassian Bamboo Feature Overview

CONTINUOUS DELIVERY

Page 23: Atlassian Bamboo Feature Overview

DEPLOYMENT TASK TYPES• SCP• SSH• Tomcat• Heroku• AWS CodeDeploy

Page 24: Atlassian Bamboo Feature Overview

INCREMENENTAL RELEASE VERSIONING AVAILABLE

Page 25: Atlassian Bamboo Feature Overview

DEPLOYMENT ENVIRONMENT TRIGGERS

• A successful build of a plan branch• A successful deployment to some other environment• A successful build of a plan stage• A schedule (specific time and date, at an interval, or Cron-based)

Page 26: Atlassian Bamboo Feature Overview

PROMOTION PERMISSIONS

Page 27: Atlassian Bamboo Feature Overview

DEPLOY FROM A BRANCH!

Page 28: Atlassian Bamboo Feature Overview

PLUGIN DEVELOPMENT• Offers a rich, Java-based plugin API and SDK• REST APIs also available