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

NUnit Executable selection not preserve during upgrade from 5.13 to 5.14

    XMLWordPrintable

Details

    Description

      Summary

      NUnit executable selection in NUnit tasks is not preserved after upgrade. All executable selection reverts back to the first selection

      Steps to Reproduce

      1. Start Bamboo 5.13
      2. Add 2 NUnit executables
      3. Add a NUnit Runner task in Bamboo
      4. Select the 2nd executable in the list
      5. Upgrade to Bamboo 5.14
      6. Check the NUnit executable

      Expected Results

      The selection should be the same as per pre-upgrade

      Actual Results

      Selection reverts back to the 1st selection

      Observation

      Before Bamboo 5.14, the following values are stored in the database to determine executable:

              <item>
                <key>label</key>
                <value>NUnit 2</value>
              </item>
      

      After upgrade, the label format changes:

              <item>
                <key>label</key>
                <value>system.builder.nunit.NUnit 2</value>
              </item>
      

      Workaround

      Create a database backup before proceeding

      UPDATE BUILD_DEFINITION SET XML_DEFINITION_DATA=REPLACE(XML_DEFINITION_DATA,'<value>Executable Name</value>','<value>system.builder.nunit.Executable Name</value>');
      

      Replace Executable Name in the query

      Then restart Bamboo

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dlee@atlassian.com Deric Lee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: