[Bamboo Knowledge Base]
When you integrate Bamboo with Atlassian's Stash Git repository management solution, commit, branch, build and deployment information is shared for users of both applications. Integration between Bamboo (versions 5.6 and later) and Stash (versions 3.1 and later) only requires: Bamboo is then automatically configured to respond to repository events published by Stash, and to notify Stash about build results – you don't have to configure repository polling for new commits anymore in Bamboo, or set up dedicated web hooks in your Stash instance. Stash displays the overall status of the build results. The status is 'passed' if all the different builds (for example, unit tests, functional tests, deploy to staging) have succeeded, and 'failed' if at least one run failed for any of those. For example, when viewing the Commits tab for a Stash project, you will see icons that indicate the status of the latest build results. The red 'fail' icon is displayed if there is at least one failed build run for the commit. Note that the legacy Stash notification type is deprecated – it is still available in Bamboo 5.6 but will be removed in Bamboo 5.7. There are just a few simple configuration steps to get the integrations described above with Bamboo (versions 5.6 and later) and
You only need to do this once for each pair of Stash and Bamboo instances. See Linking to another application. Once linked, all the Stash repositories are available to your plans in Bamboo. Create a build plan (if necessary) and specify the repository in the plan (or job) configuration. See Stash for more information about using Stash source repositories in Bamboo. On this page:
Benefits of integration
Stash tells Bamboo when to build
Stash tells Bamboo when to update plan branches to match changes in repository branches
Stash commits are displayed in the relevant Bamboo builds
Bamboo notifies Stash automatically about build results
Configuration
Stash (versions 3.1 and later):1. Create an Application Link
2. Choose the Stash repository for the Bamboo plan
3. Build!