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

Remote Agent creates spurious directory tree under the default bamboo home bin/ directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.2
    • None
    • Agents
    • None
    • Bamboo Server: BEAC 2.2-SNAPSHOT build 1104 - 11 Dec 08
      Bamboo Agent Host: Debian GNU/Linix 4.0 testing, Sun JDK 1.6.0_07

    Description

      When running the Bamboo agent without an explicit bamboo home, a spurious directory tree is created under bamboo-agent-home/bin/ directory with the following form "/home/bamboo/bamboo-agent-home", which can be traversed using bourne shell like so:

      bamboo@VictoriaBitter:~/bamboo-agent-home/bin$ cd \"
      bamboo@VictoriaBitter:~/bamboo-agent-home/bin/"$ cd home/
      bamboo@VictoriaBitter:~/bamboo-agent-home/bin/"/home$ cd bamboo/
      bamboo@VictoriaBitter:~/bamboo-agent-home/bin/"/home/bamboo$ cd bamboo-agent-home\"/
      

      I would hazard that this directory is created between the service wrapper and the bootstrap JAR, as all the build information is created under here:

      bamboo@VictoriaBitter:~/bamboo-agent-home/bin/"/home/bamboo/bamboo-agent-home"$ ls
      bamboo-agent.cfg.xml  xml-data
      

      This is the command line used to launch the agent:

      java -Dbamboo.agent.ignoreServerCertName=true -jar bamboo-agent-2.2-SNAPSHOT.jar https://atlassian18.private.atlassian.com/agentServer/
      

      Attachments

        1. agent.log
          581 kB
        2. bamboo-agent-victoriabitter-logs.tar.gz
          1.06 MB

        Activity

          People

            kbrazulewicz Krystian Brazulewicz
            pdzwart PdZ (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h Original Estimate - 4h
                4h
                Remaining:
                Time Spent - 4.5h Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - 4.5h Remaining Estimate - 0.5h
                4.5h