Hi @bradrydzewski,
Just a question, I have three branch in my sample repository basically (dev,master,sit). And my repository is protected. When I run drone pipeline for dev branch build step run and all other steps (including dockerizing application) just skipped. But when i run it for master it include those step. Don’t know why this strage behaviour is happening.
let say. i have pipeline
kind: pipeline
name: default
steps:
-
name: step1
image: library/gradle
command:- gradle build
-
name: step2
image: plugins/docker
settings:
repo: xxx
dockerfile: Dockerfile
username:
from_secret: xxxx
password:
from_secret: xxxx
when:
branch: [master,dev,sit] -
name: step3
image: plugins/docker
settings:
repo: xxx
dockerfile: Dockerfile
username:
from_secret: xxxx
password:
from_secret: xxxx
when:
branch: [master,dev,sit] -
name: deploy
image: plugins/docker
settings:
repo: xxx
when:
branch: [master,dev,sit]
I need to run all pipeline steps for all branch. and deliver them to expected environment based on branches.