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

Changing repository url turns off the "automatic branch detection".

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.0.1, 4.1
    • None
    • None

    Description

      1. Configure plan branches: set "automatic branch detection" to on, input something into "Only create branches..." field. For example "test.*"
      2. save.
      3. Go to source Repositories, default repository, change it's repositoryUrl (I assume it is git/hg repository).
      4. Save. (It doesn't matter if you change to something valid - just repositoryUrl must differ)
      5. Go to plan's Branches configuration.
      6a. Automatic Branch Detection is off. If you tick it - you will see the "Only create branches..." field is still "text.*".
      6b. While I expected ABD to be still turned on.


      I think the problem is in the (I wrote it) BAM-10613 - if you edit default repository then the autodetection should turn off if new repository does not support branch detection. Apparently I must have skewed the logic, somewhere around lines 226-240 of RepositoryConfigurationServiceImpl.java

      Attachments

        Activity

          People

            bmccoy bmccoy
            pstefaniak PiotrA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: