Drone

Start service only on specific branches

Hey.

I’m looking forward for an answer if Drone supports condition based services or not, so for example I would like to run my integration tests only on the ‘master’ branch and it would need 3 services to run, but I do not want to run them on other for example feature branches.

Does Drone support this kind of requirement?

Thanks in advance :slight_smile:

yes, you can use a when clause with any pipeline step or service.

1 Like

It works, thank you :wink: