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

Queue is not persisted on Safe Restart when Jenkins is installed as Windows Service (clean up is not performed)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Jenkins 1.647 installed as Windows Service

      When Jenkins is installed as Windows Service the queue is not persisted on Safe Restart.

      Steps to reproduce

      • Fresh install Jenkins on Windows as a Windows Service
      • Remove all available executors (set it to 0)
      • Configure a job
      • Run the job
      • The job must be put in queue, and must not run because there are no available executors.
      • Safe restart Jenkins

      Expected result

      • On safe restart the queue.xml file should be created for the queue to be restored on start
      • Ultimately the queue should be restored on start

      Actual result

      • No queue.xml file is created
      • The queue is not restored after restart

      This works on Mac OS X, and works if running a Jenkins instance with Maven HPI Plugin or similar on Windows.

          [JENKINS-32820] Queue is not persisted on Safe Restart when Jenkins is installed as Windows Service (clean up is not performed)

          André Carmo created issue -
          André Carmo made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Daniel Beck made changes -
          Assignee New: André Carmo [ atcarmo ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168511 ] New: JNJira + In-Review [ 185684 ]
          Kyle Brennan made changes -
          Link New: This issue is duplicated by JENKINS-41775 [ JENKINS-41775 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Oleg Nenashev made changes -
          Labels New: lts-candidate
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-34281 [ JENKINS-34281 ]
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 2.46.1-fixed

            atcarmo André Carmo
            atcarmo André Carmo
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: