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

Running a Bamboo Remote Agent service on Windows as a user other than System the parameter passed to the java.io.tmpdir fails the build

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.2 RC1, 3.2
    • 3.1.3
    • Bamboo Release
    • None
    • Windows XP x86
      Bamboo 3.1.3 standalone
      JDK 1.6.0_12

      When the agent runs as the system, the param for java.io.tmpdir defaults to C:\WINDOWS\TEMP\<BUILD-KEY> and the build works just fine.
      When I run the agent as a user (trying to get around permissions issues with writing) the param for java.io.tmpdir defaults to "C:\Documents and Settings\<user-name>\Local Settings\temp\<BUILD-KEY>"

      When the build runs, the first task that runs an Ant script I get a message that says:

      BUILD FAILED
      Target "and" does not exist in project "<project-name>"

      Even though I see that the param being passed is in quotes so the space in the path should be taken care of, that's the only "and" I can find in my log. In the build script "and" does not appear anywhere, not even embedded in some other word.

            [BAM-9114] Running a Bamboo Remote Agent service on Windows as a user other than System the parameter passed to the java.io.tmpdir fails the build

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1436193 ] New: JAC Bug Workflow v3 [ 3378855 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1413484 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1436193 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 614587 ] New: Bamboo Workflow 2016 v1 [ 1413484 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 599792 ] New: Bamboo Workflow 2014 v2 [ 614587 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 304105 ] New: Bamboo Workflow 2014 [ 599792 ]
            Marcin Gardias made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: To be reviewed [ 10026 ] New: Resolved [ 5 ]
            Marcin Gardias made changes -
            Status Original: In Progress [ 3 ] New: To be reviewed [ 10026 ]
            Marcin Gardias made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Marcin Gardias made changes -
            Assignee New: Marcin Gardias [ mgardias ]
            MarkC made changes -
            Story Points New: 2

              mgardias Marcin Gardias
              0a53eeb4b62d Jay Barra
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: