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

Move buildNumber from bamboo.cfg.xml to a database property

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • None
    • 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

      Summary

      Risks of migration and upgrade failure due to property (e.g <buildNumber />) being stored in <bamboo-home>/bamboo.cfg.xml filesystem instead of database.

      Scenario

      The property in question is responsible to let Bamboo know which upgrade tasks should be executed during the startup process. Lets review the following scenario:

      • Bamboo version A (connected to Production database)
        <buildNumber>123456</buildNumber>
        <property name="hibernate.connection.url">jdbc:mysql://localhost/bambooPROD?autoReconnect=true</property>
      • Bamboo version B (new installation)
        <buildNumber>999999</buildNumber>
        <property name="hibernate.connection.url">jdbc:mysql://localhost/bambooTEMP?autoReconnect=true</property>

      When upgrading Bamboo (from version A to version B) administrators must not edit <bamboo-home>/bamboo.cfg.xml from new Bamboo installation (version B) to point to the Bamboo's database (production data) because the <buildNumber>999999</buildNumber> in the new installation is more recent than version A.

      Suggestion

      Some properties (e.g <buildNumber />) in <bamboo-home>/bamboo.cfg.xml should be moved/stored in the database, minimising the risks of unsuccessful Bamboo's migration or upgrade.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rsperafico Rafael Sperafico (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: