Need for an "after-step"

XMLWordPrintable

      After-script where introduced recently and they are really good, but for cleanup it would be even better to have an "after-step" and by that i mean a final step or set of steps that would run no matter what happened previously in a pipeline.

      I'll give an example that back this proposal.

      Let say i have a step with an image that can creates an aws infra. Then i want another step with a python image that can run tests against the infra created in the first step. And at the end, i want to be able to destroy the infra in a third step, using the same image as the step one, no matter if the step 2 was successful or not.
      With the after-script, the only thing i can do is run a script in my step 2 which dont have what it needs to destroy my aws infra.

              Assignee:
              Unassigned
              Reporter:
              Sebastien Delisle
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: