Phase Dependencies
Learn how to configure dependencies between phases to control execution order
Phase dependencies control the execution order of phases in a release process. Understanding and properly configuring dependencies is essential for ensuring releases execute in the correct sequence.
What you will learn from this topic
Understand phase dependencies and the types of dependencies you can configure.
How to configure a dependency between phases in process YAML.
How to apply common dependency patterns and best practices.
How to troubleshoot a phase that does not start or executes out of order.
What are phase dependencies?
Phase dependencies define which phases must be completed before another phase can start. They ensure:
Correct execution order
Prerequisites are met
Data and artifacts are available
Validation occurs before deployment
Dependency types
Sequential dependencies
One phase must be completed before another starts:
Execution Flow:
Multiple dependencies
One phase can depend on multiple phases. In the following example, PhasEnd1 depends on multiple phases:
Dependency configuration
Basic dependency
Simple dependency declaration:
Common dependency patterns
Linear chain
Sequential phases in a chain:
Best practices
Minimize dependencies
Only add necessary dependencies:
Recommended: Essential prerequisites
Avoid: Unnecessary blocking
Clear dependency logic
Make dependencies explicit and understandable:
Use descriptive phase names
Document dependency reasons
Avoid implicit dependencies
Optimize for parallelism
Structure dependencies to enable parallel execution:
Identify independent phases
Minimize sequential bottlenecks
Group-related dependencies
Validate early
Check dependencies during process creation:
Validate dependency chains
Detect cycles
Identify unreachable phases
Troubleshooting
Next steps
Phases Overview: Learn how phases structure a release process.
Creating Phases: Learn how to create and configure phases.
Activity Dependencies: Learn how dependencies work at the activity level.
Last updated
Was this helpful?