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

Jenkins should not deploy installer GUI to headless SSH Agents

XMLWordPrintable

      Slave Installer module installs GUI to any SlaveComputer type for which any SlaveInstallerFactory is able to provide SlaveInstallerFactory. For unix agents we have launchd, upstart and systemd factories in modules, which contribute this installer.

      There is no much sense to install GUI to headless agents. According to the analysis by campbellr, such issue may be also one of the culprits of JENKINS-27514, because GUI installation happens synchronously in onOnline() listeners. 

      Code links:

      Proposal

      • Jenkins should not try to install GUI if the agent runs in the headless mode.
      • If required, add forward-compatible API in Jenkins-core for that (e.g. Default method to SlaveComputer or Launcher)

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: