Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-17118

Show the commit history for first build of a PR branch

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • None
    • Plan Branches
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      For development teams that use the pull request model, many times a branch will have only one push and hence only one Bamboo build. Currently the "Commits" tab for the first build on a branch is empty. This makes sense from the perspective that there weren't any commits since the previous build on the branch, but isn't very useful to the developer.

      When I submit a pull request and that pull request is built by Bamboo, I would like for the commits in the pull request to show up in the commits tab in Bamboo.

      I realize it's not well defined from Bamboo's perspective which commits should be included, since Bamboo doesn't know about the pull request, only about the branch, and I don't think there's any way to know which parent branch the child branch was branched off from. So I won't propose exactly how to implement it.

      Here are some ideas, however:

      • At the very least, the text for the Code commits tab should explain why there are no code changes: because it's the first build on the branch.
      • Better though would be tighter integration with BitBucket pull requests. BitBucket knows which commits comprise the pull request because the developer specified the parent branch when they created the pull request.
      • Maybe instead of a plan based on branches, Bamboo could have a "build pull requests" feature?

      Here is an example to illustrate:

      • pull request commits tab shows one commit
      • Clicking through to the build for that commit, we see this build which shows "No code changes" because it's the only build on that branch.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jbyler Jesse
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: