Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-18012

Need for an "after-step"

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            sebastien.delisle Sebastien Delisle
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: