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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium 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

      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/
      

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

            [BAM-3480] Remote Agent creates spurious directory tree under the default bamboo home bin/ directory

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1435859 ] New: JAC Bug Workflow v3 [ 3379631 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1408392 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1435859 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 608866 ] New: Bamboo Workflow 2016 v1 [ 1408392 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 598678 ] New: Bamboo Workflow 2014 v2 [ 608866 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 202005 ] New: Bamboo Workflow 2014 [ 598678 ]
            MarkC made changes -
            Workflow Original: reviewflow [ 163982 ] New: Bamboo Workflow 2010 [ 202005 ]
            MarkC made changes -
            Fix Version/s New: 2.2 [ 14112 ]
            Fix Version/s Original: 2.2 M5 [ 14417 ]
            MarkC made changes -
            Workflow Original: jira [ 156750 ] New: reviewflow [ 163982 ]
            Krystian Brazulewicz made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            Krystian Brazulewicz made changes -
            Remaining Estimate Original: 2h [ 7200 ] New: 0.5h [ 1800 ]
            Time Spent Original: 3h [ 10800 ] New: 4.5h [ 16200 ]

              kbrazulewicz Krystian Brazulewicz
              pdzwart PdZ (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  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