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

No option to disable build continuation when computer forcefully restarted

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • pipeline
    • None
    • Windows Server 2008 R2, Jenkins 2.32.2

      Corporate policies push mandatory updates to Jenkins server. Unfortunately this seems to shut down the computer while Jenkins is in a "shutting down" state. When the server comes up it is still in this "shutting down" state but all the jobs that were running try to continue where they left off. They never time out or fail from this, they simply get stuck in limbo and run perpetually until manually cancelled/killed.

      Quiet Start Plugin appears to do something different and requires manual intervention. Is there a way to disable automatic continuation of builds after a restart? Especially if Jenkins isn't capable of even continuing builds at times?

          [JENKINS-53857] No option to disable build continuation when computer forcefully restarted

          Oleg Nenashev added a comment -

          Pipeline is the only job type which continues after the restart nowadays

          Oleg Nenashev added a comment - Pipeline is the only job type which continues after the restart nowadays

          oleg_nenashev We have multiple pipeline jobs and they all get stuck. What would you recommend?

          Marley Kudiabor added a comment - oleg_nenashev We have multiple pipeline jobs and they all get stuck. What would you recommend?

          Marley Kudiabor added a comment - Appears to duplicate  https://issues.jenkins-ci.org/browse/JENKINS-50892

          Sam Van Oort added a comment -

          kudiaborm This was fixed via updates to the Pipeline plugin suite, but you'll need to be on a more modern core (2.62 IIRC) to consume the updates.

          Sam Van Oort added a comment - kudiaborm This was fixed via updates to the Pipeline plugin suite, but you'll need to be on a more modern core (2.62 IIRC) to consume the updates.

            Unassigned Unassigned
            kudiaborm Marley Kudiabor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: