Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64676

Launch Agent via command on master but connect via JNLP/Websocket

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core, remoting
    • None
    • Jenkins 2.263.2
      Windows 10 1909 64-bit

      We are currently running Jenkins agents in VirtualBox VMs on the master. We are investigating running agents on Windows Sandbox for a built-in lite VM that allows GUI testing.

      I've tried "Launch agent via execution of a command on the master", but this appears to only work when that commands results in stdin/stdout of the agent being connected. This isn't possible with Windows Sandbox unless we got some sort of hacky reverse shell working somehow.

      We'd like Jenkins to run a command to start the VM/Sandbox then connect back via JNLP or WebSockets, but as far as I can tell these two launch methods are mutually exclusive.

            Unassigned Unassigned
            mgrochowalski Matt Grochowalski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: