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

Use of ${bambooHome} in bamboo.cfg.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.1
    • 2.0.1
    • None

    Description

      In some fields in the bamboo.cfg.xml the ${bambooHome} property is used. This gives the impression that it could be used by all of the properties, however each property needs to be converted as it is retrieved. The conversion has not been set up for some of the properties. This behaviour should be a) explicitly defined as possible fro specific fields, b) capable of being used for all, or, c) removed altogether. Do we even use half of these properties?

      This issue arises from https://support.atlassian.com/browse/BSP-766:
      The "bamboo.config.directory" property does not allow the use of the ${bambooHome} which can cause Upgrade Task 609 to fail. Causing this error:

      2008-05-04 20:11:57,184 INFO [main] [UpgradeManagerImpl] -------------------------------------------------------------------------
      2008-05-04 20:11:57,184 INFO [main] [UpgradeManagerImpl] Running upgrade task 609 : Convert builder and jdk to server capabilities
      2008-05-04 20:11:57,184 INFO [main] [UpgradeManagerImpl] -------------------------------------------------------------------------
      2008-05-04 20:11:57,190 WARN [main] [UpgradeTask609BuilderAndJdkToCapabilities] Upgrade Task 609 not run. The administration.xml configuration file not found
      2008-05-04 20:11:57,193 ERROR [main] [UpgradeManagerImpl] java.io.FileNotFoundException: Did not find administration.xml config file.
      java.io.FileNotFoundException: Did not find administration.xml config file.
      	at com.atlassian.bamboo.upgrade.tasks.UpgradeTask609BuilderAndJdkToCapabilities.doUpgrade(UpgradeTask609BuilderAndJdkToCapabilities.java:68)
      

      Attachments

        Activity

          People

            mark@atlassian.com MarkC
            bmccoy bmccoy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: