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

multiple aborts exit declarative post always step

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 2.73.3 on Linux (Centos 7).
      All plugins up to date.

      Declarative pipeline runs through its stages. User clicks abort/cancel red button, pipeline drops into post step as expected. Post has an always block. User then clicks abort again (they are impatient), post is executing always, most likely sh commands, and is then terminated. The 2nd abort should be ignored and the post always should be allowed to complete? There is only one block in the post (always). Post always should be allowed to do cleanup (or is there away to turn off the abort signal once it enters the post always?).

            Unassigned Unassigned
            amunro Alastair Munro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: