Introducing pipeline step dependencies
We've added support for defining step dependencies in your pipeline configuration, allowing you to minimize the wait times in your builds ⏭
To define a dependency between two steps, you can use the new properties key
and depends_on
:
1 2 3 4 5 6 7 8 9 10 11
steps: - command: "build.sh" key: "build" - command: "tests.sh" key: "tests" - command: "upload-coverage.sh" depends_on: "tests" - command: "deploy.sh" depends_on: - "build" - "tests"
We've also made sure that you can easily transition an existing pipeline to use step dependencies: starting with a sequential pipeline that uses wait
steps, you can gradually add depends_on
as you need.
For more information about how dependencies work, and how to add them to your pipeline, see the new Managing Step Dependencies guide ✨
Matthew
Start turning complexity into an advantage
Create an account to get started with a 30-day free trial. No credit card required.

