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

Agent installer GUI should not be installed on headless agents

XMLWordPrintable

      It was on my radars several times, and now we have an issue in JENKINS-44229 where the Installer GUI propagation seems to take more than 30 seconds due to whatever reason. Likely it is caused by multiple calls by installers checking the SlaveInstallerFactor feasibility.

      Usages: https://github.com/search?q=org%3Ajenkinsci+SlaveInstallerFactory&type=Code

      Proposals:

      • ComputerLauncher class should define a new isHeadless() method
      • SlaveInstaller module should check the flag and skip installation if the GUI installer is not required

            ifernandezcalvo Ivan Fernandez Calvo
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: