• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • Windows Server 2012

      We have GUI tests running which are needed a logged in user and that the jenkins instance is running under this logged in instance. Because no service is running the checkbox "Restart Jenkins when installation is complete and no jobs are running" is not available. So please remove this useless text or provide an alternative text.

       

      Is it possible to integrate an alternative way to restart jenkins?

      i.e. provide a path to a batch file which will be executed to start jenkins again, when checkbox "Restart Jenkins when installation is complete and no jobs are running" is checked

      or

      assign a job which do this, question is here how shutdown can be done

      or

      would it work when a child node runs as the logged in user and jenkins it self is running as a service?

          [JENKINS-54152] restart jenkins when not running as service

          Oleg Nenashev added a comment - - edited

          Hello,

          > We have GUI tests running which are needed a logged in user and that the jenkins instance is running under this logged in instance. Because no service is running the checkbox "Restart Jenkins when installation is complete and no jobs are running" is not available. So please remove this useless text or provide an alternative tex

          It may be a separate UX issue

          > Is it possible to integrate an alternative way to restart jenkins?

          Maybe you want to start from setting an "interactive" flag in the Windows service settings: https://github.com/kohsuke/winsw/blob/master/doc/xmlConfigFile.md#interactive

           

           

          Oleg Nenashev added a comment - - edited Hello, > We have GUI tests running which are needed a logged in user and that the jenkins instance is running under this logged in instance. Because no service is running the checkbox "Restart Jenkins when installation is complete and no jobs are running" is not available. So please remove this useless text or provide an alternative tex It may be a separate UX issue > Is it possible to integrate an alternative way to restart jenkins? Maybe you want to start from setting an "interactive" flag in the Windows service settings: https://github.com/kohsuke/winsw/blob/master/doc/xmlConfigFile.md#interactive    

          I tried the "interactive" and it seems to work. The PC has disabled UAC, just for future info.

          Ronny Borchert added a comment - I tried the "interactive" and it seems to work. The PC has disabled UAC, just for future info.

          Daniel Beck added a comment -

          So please remove this useless text

          Isn't it then just requesting that you do that…?

          Daniel Beck added a comment - So please remove this useless text Isn't it then just requesting that you do that…?

          Since the "interactive" was working is the other stuff optional.

          Still open the UX issue that text "Restart Jenkins when installation is complete and no jobs are running" is still shown in case jenkins is not running as service.

          Alternative is to provide a way to restart, then showing a checkbox would make sense. see example statements

          Ronny Borchert added a comment - Since the "interactive" was working is the other stuff optional. Still open the UX issue that text "Restart Jenkins when installation is complete and no jobs are running" is still shown in case jenkins is not running as service. Alternative is to provide a way to restart, then showing a checkbox would make sense. see example statements

          Sorry, but somehow after a few day test, it comes out that some functions behave different. Means "interactive" is no solution.

          Ronny Borchert added a comment - Sorry, but somehow after a few day test, it comes out that some functions behave different. Means "interactive" is no solution.

            Unassigned Unassigned
            arbeita Ronny Borchert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: