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

Duplicate Path variable(s) added by Bamboo when executing Build on windows

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 1.2.3
    • 1.2.2
    • Builds, Tasks
    • None
    • Windows

      Bamboo adds a duplicate path variable, when executing builds in Windows

      Below is the output of my ant task, which invokes a batch file to spit out all the defined system environment variables.

      Unable to find source-code formatter for language: log. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Path=C:\Program Files\Java\jrockit-R27.3.1-jre1.5.0_11\bin;C:\Program Files\Java\jrockit-R27.3.1-jre1.5.0_11\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\apache-ant-1.7.0\bin;C:\Program Files\Subversion\bin;
      PATH=C:\Program Files\Java\jrockit-R27.3.1-jre1.5.0_11\bin;
      

      The PATH added by Bamboo is wrong, since the PATH variable itself is case sensitive. This may cause weirdness in builds which rely on PATH variable being set.

      Originally a support issue BSP-241

            [BAM-1660] Duplicate Path variable(s) added by Bamboo when executing Build on windows

            bmccoy added a comment -

            Hi,

            I have made changes to ensure that Bamboo correctly detects the path variable name (independent of case) and therefore does not produce duplicates.
            This fix will be included in the next release (1.2.3).

            Cheers,
            Brydie

            bmccoy added a comment - Hi, I have made changes to ensure that Bamboo correctly detects the path variable name (independent of case) and therefore does not produce duplicates. This fix will be included in the next release (1.2.3). Cheers, Brydie

              bmccoy bmccoy
              asridhar AjayA
              Affected customers:
              1 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: