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

Prevent Bamboo source code checkout if Bitbucket Server is in maintenance mode

    XMLWordPrintable

Details

    • 15
    • 22
    • 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

      On Using the Stash Backup Client documentation, in the How it works we have:

      2. Checks that all Git and database operations have completed.

      Based on the information above, if running a build in Bamboo that has "Source Code Checkout" task using a Stash repository, this build should have no problems on completing the cloning task before Stash going on Maintenance mode.

      However, when Stash is in Maintenance mode by Using Stash DIY Backup documentation, the same Bamboo build does not happens and the following error gets thrown:

      ... Unable to detect changes. This error may have occurred due to an authentication issue with Stash. Save the repository configuration to refresh the authentication details.
      (25 Mar 2015, 9:10:11 AM)
      

      It would be interesting on having a feature in Bamboo that when a Repository host "Stash" is selected, prior running a "Source Code Checkout" task, Bamboo would call a REST API requesting Stash status and, in case, the same returns PAUSED, MAINTENANCE the build in Bamboo would stop and a notification message will explain appropriated the reason.

      Attachments

        Issue Links

          Activity

            People

              851f15845f55 Mateusz Szmal
              rsperafico Rafael Sperafico (Inactive)
              Votes:
              131 Vote for this issue
              Watchers:
              90 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: