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

Agent installer GUI should not be installed on headless agents

      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

          [JENKINS-48574] Agent installer GUI should not be installed on headless agents

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-27514 [ 161316 ]
          Oleg Nenashev made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-44229 [ JENKINS-44229 ]
          Oleg Nenashev made changes -
          Description New: 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
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-47010 [ JENKINS-47010 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          Ivan Fernandez Calvo made changes -
          Assignee New: Ivan Fernandez Calvo [ ifernandezcalvo ]

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

              Created:
              Updated: