Bamboo creates an extra blank entry when bamboo-capabilities.properties saved as UTF-8 with BOM Encoding

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 9.4.2, 9.3.6, 9.2.9
    • Affects Version/s: 9.0.0
    • Component/s: Agents
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      This is reproducible on Data Center: Yes

      Bamboo creates an extra blank entry  in the agent capabilities when  bamboo-capabilities.properties saved as UTF-8 with BOM  Encoding

      Steps to Reproduce

      1. Create a bamboo-capabilities.properties 
      2. Add a blank line  in the start and save  it as with 'UFT-8 with BOM 'encoding
        • AppOffline=app_offline.htm
          absServiceAccount=E:\\Bmbexe\\service\\abs\\testCompleteAccount.lk.txt
          MSBuildTransform=E:\\Bamboo\\xml-data\\configuration\\MSBuildTransform.xml
          NUnitAdapter2=E:\\Bmbexe\\UnitTestAdapters\\NUnitTestAdapter.2.0.0
          TestComplete=E:\\Bmbexe\\TestExecute\ 14\\Bin\\sessioncreator.exe
          TestComplete64=E:\\Bmbexe\\TestExecute\ 14\\x64\\Bin\\sessioncreator.exe
          VisualStudioTestProgram=E:\\Bmbexe\\Microsoft\ Visual\ Studio\ 12.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\TestWindow\\vstest.console.exe
          system.builder.nunit3.NUnitProgram3.0.0=C:\\Program\ Files (x86)\NUnit-3.0.0-beta-4\bin\nunit-console.exe
          system.builder.command.deployScript=E:\\Bamboo\\xml-data\\configuration\\Publish.bat
          system.builder.devenv.VS10\ DevEnv=E:\\Bmbexe\\Microsoft\ Visual\ Studio\ 10.0\\Common7\\IDE
          system.builder.nunit.NUnit\ Console=E:\\Bmbexe\\nunit264\\bin\\nunit-console.exe
          system.git.executable=E:\\Git\\bin\\git.exe
          MSBuildTransform=E:\\Bamboo\\xml-data\\configuration\\MSBuildTransform.xml
          system.builder.command.Git=E:\\Git\\bin\\git.exe 
      1. Save this file in the <bamboo-agent-home>/bin
      2. Restart the Bamboo agent
      3. Monitor the Bamboo Agent capabilities screen
      4. You will be able to see a bank capabilities line under agent-specific capabilities

       

      Expected Results

      The blank line in the file should be ignored. Also it needs to address this other type of encoding as well.

      Actual Results

      Workaround

      1. Remove the blank line in the file and  save the file
      2. Restart Remote Agent

              Assignee:
              Eduardo Alvarenga (Inactive)
              Reporter:
              Vani
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: