getCustomData.bat does not work on windows elastic agents

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 6.6.0
    • Affects Version/s: None
    • Component/s: Elastic Bamboo
    • None
    • Severity 3 - Minor

      /opt/bamboo-elastic-agent/bin/getCustomData.bat
      returns a ClassNotFoundException.

      The .bat needs to be changed to point to the absolute path of the .jar file.

      @echo off
      
      java -cp C:\opt\bamboo-elastic-agent\bin\atlassian-bamboo-agent-elastic-installer.jar com.atlassian.bamboo.agent.elastic.metadata.RetrieveMetaData %1 %2
      

        1. image.png
          169 kB
          Robert W

            Assignee:
            Unassigned
            Reporter:
            Robert W (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: