This is the documentation for Bamboo 5.5. View this page for the

Unknown macro: {spacejump}

of Bamboo, or visit the latest Bamboo documentation.

You can link Bamboo and Stash, which enables information sharing between the two, providing complimentary benefits to users of both applications. When linked, commit, build and deployment data are shared between each application.

Bamboo

In Bamboo, you can view all of the commits that went into development of the build, allowing you to accurately track the changes that went into your development process:

Stash

In Stash, you can see all of the latest build statuses associated with a commit when viewing any commit or pull request. This allows you to you easily check the build status of a branch when deciding whether or not to merge the changes. 

Stash also displays the overall status of build results. If all the different build activities (unit tests, functional tests, deployments) have succeeded, then the status is 'passed'; if at least one run failed for any reason, Stash will report a failure. For example, when viewing the Commits tab for a Stash project, you will see icons indicating 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:

You can also navigate to Stash from Bamboo to examine the commit diff for all of the files that are part of the current build.

A user who has edit privileges for a plan can make links to source-code files available by connecting the plan to the source repository.

To get build statuses in Stash, set up an application link from Bamboo to Stash that uses Basic Access for outgoing authentication. See Linking to Another Application and Configuring Basic HTTP Authentication for an Application Link. Once this is set up, add the Stash build status notification type to every build plan.


 

To see Stash changesets for a build in Bamboo

  1. Navigate to the 'Source Repositories' tab for the plan, as described in Specifying the source repository.
  2. Click on a repository name, and then click Advanced Options.
  3. Choose Web Repository > Stash.
  4. Specify the Stash URL, Stash Project Key and Repository Name

Screenshot: Specifying a Stash project in Bamboo

To see Bamboo build results in Stash

  1. Set up an application link from Bamboo to Stash that uses Basic Access for outgoing authentication. See: 
    1. Linking to Another Application
    2. Configuring Basic HTTP authentication for an application link
  2. Install the Stash Bamboo plugin (available from the Atlassian Marketplace) in Bamboo. The plugin allows Bamboo to publish build results, which Stash is able to display. See the Universal Plugin Manager documentation
  3. Set up a build notification on the Bamboo plan. This can only be of the All Builds Completed type. See Configuring notifications for a plan and its jobs. If using plan branches, you need to select the "Use the plan's notification settings" from either under the main plan's branches tab or for each branch separately, to receive notifications for branches, otherwise it will use the default settings: "Notify committers and people who have favourited the created branch". The notification options for each branch will be removed as stated in  BAM-14198 - Getting issue details... STATUS

See also Bamboo integration in the Stash documentation.

  • No labels