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