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

No option to disable build continuation when computer forcefully restarted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: pipeline
    • Labels:
      None
    • Environment:
      Windows Server 2008 R2, Jenkins 2.32.2
    • Similar Issues:

      Description

      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?

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

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

            Show
            oleg_nenashev Oleg Nenashev added a comment - Pipeline is the only job type which continues after the restart nowadays
            Hide
            kudiaborm Marley Kudiabor added a comment -

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

            Show
            kudiaborm Marley Kudiabor added a comment - Oleg Nenashev We have multiple pipeline jobs and they all get stuck. What would you recommend?
            Hide
            kudiaborm Marley Kudiabor added a comment -
            Show
            kudiaborm Marley Kudiabor added a comment - Appears to duplicate  https://issues.jenkins-ci.org/browse/JENKINS-50892
            Hide
            svanoort Sam Van Oort added a comment -

            Marley Kudiabor 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.

            Show
            svanoort Sam Van Oort added a comment - Marley Kudiabor 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.

              People

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

                Dates

                Created:
                Updated:
                Resolved: