additional -Dxxx parameters are not passed on to the remote agent java process when starting the agent installer

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 2.2, 2.2.1, 2.3 M1, 2.3 M2, 2.3 M3, 2.3 M4
    • Component/s: Agents
    • 4

      Only the -Dbamboo.home parameter is passed on.
      java -DCVS_FORCE_CHECKOUT_TO_LATEST=true -jar atlassian-bamboo-agent-installer-2.2.1.jar http://localhost:8085/bamboo/agentServer

      leads to

      ukuhnhardt 2354 0.0 1.3 811640 56044 s000 S+ 3:58pm 0:03.33 /usr/bin/java -Dbamboo.home=/Users/ukuhnhardt/bamboo-agent-home -Dbamboo.agent.ignoreServerCertName=false -Xms256m -Xmx512m -Djava.library.path=../lib -classpath ../lib/wrapper.jar:../lib/bamboo-agent-bootstrap.jar -Dwrapper.key=lpCgO9bbTjv3YB4S -Dwrapper.port=32001 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=2353 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.disable_shutdown_hook=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp com.atlassian.bamboo.agent.bootstrap.AgentBootstrap http://localhost:8085/bamboo/agentServer
      ....
      ...
      ukuhnhardt 2308 0.0 0.3 337460 13644 s000 S+ 3:58pm 0:00.19 /usr/bin/java -DCVS_FORCE_CHECKOUT_TO_LATEST=true -jar atlassian-bamboo-agent-installer-2.2.jar http://localhost:8085/bamboo/agentServer

      Note the wrapper process does not have the optional -DCVS_FORCE_CHECKOUT_TO_LATEST=true

              Assignee:
              Unassigned
              Reporter:
              Ulrich Kuhnhardt [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: