Hi,
I would like to know if there is possible that a step only be available/visible if another step passed. Something like that:
- step: &build-develop
name: build develop
script:
- echo "build develop"
- step: &build-prod
name: build prod
script:
- echo "build prod"
- step: &deploy-prod
name: deploy prod
script:
- echo "deploy prod"
conditional: &build-prod
Hi @Igor Ramos Pestana ,
Thank your for your question!
Step - Defines a build execution unit. Steps are executed in the order that they appear in the bitbucket-pipelines.yml
file.
That's why, in your case, step "deploy prod" will execute only after success previous step "build prod".
Please follow the Configure bitbucket-pipelines.yml guide for more details.
Cheers,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.