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

Bamboo starts builder in wrong directory in command shell in windows if HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor is set

    • Icon: Bug Bug
    • Resolution: Low Engagement
    • Icon: Medium Medium
    • None
    • 2.2.1
    • Builds

      if there is a win registry entry
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor and its AutoRun property is to execute cd \
      then the builder (ant) will be started in c:\ or d:\ instead of in the correct working copy directory path - and the builder will not find the files it is looking for.

      Bamboo should make sure that the builder/build script is executed in the right directory. ATM bamboo assumes that there are not default commands run when a command shell is opened.

      This directory is known to bamboo - for example
      Starting to build 'TESTCI - TESTCIPLAN'
      ... running command line: D:\devtools\apache-ant-1.7.1\bin\ant.bat -f build.xml -debug build
      ... in : D:\Bamboo\bamboo-home\xml-data\build-dir\TESTCI-TESTCIKEY\build
      ... using java.home: D:\devtools\Java\jdk1.5.0_17

      A good place to read about the registry setting for the command shell : http://www.msfn.org/board/lofiversion/index.php/t45360.html

            [BAM-3858] Bamboo starts builder in wrong directory in command shell in windows if HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor is set

            Ishwinder Kaur made changes -
            Resolution New: Low Engagement [ 10300 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]

            Atlassian Update - 9 April 2025

            Hi,

            At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products.

            This bug is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments; this inactivity suggests a low impact.

            Please note the comments on this thread are not being monitored.

            You can read more about our bug fix policy here and how we prioritize bugs.

            To learn more about our recent investments in Bamboo Data Center, please check our public roadmap.

            Kind regards,
            Bamboo Data Center

            Ishwinder Kaur added a comment - Atlassian Update - 9 April 2025 Hi, At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products. This bug is being closed due to a lack of engagement in the last four years , including no new watchers, votes, or comments; this inactivity suggests a low impact. Please note the comments on this thread are not being monitored. You can read more about our bug fix policy here and how we prioritize bugs. To learn more about our recent investments in Bamboo Data Center, please check our public roadmap . Kind regards, Bamboo Data Center
            Ishwinder Kaur made changes -
            Labels New: cleanup-seos-fy25
            SET Analytics Bot made changes -
            Support reference count New: 1
            Pawel Skierczynski made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1441196 ] New: JAC Bug Workflow v3 [ 3380938 ]
            Status Original: Open [ 1 ] New: Needs Triage [ 10030 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            jonah (Inactive) made changes -
            Symptom Severity New: Major [ 14431 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1416841 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1441196 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 618883 ] New: Bamboo Workflow 2016 v1 [ 1416841 ]

              Unassigned Unassigned
              ukuhnhardt Ulrich Kuhnhardt [Atlassian]
              Affected customers:
              4 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: