Docs Navigation

Running a build command on a specific branch

Branch name is available as an enviroment variable BRANCH_NAME. You can add a new build command that will check the branch name, e.g:

if [ "$BRANCH_NAME" = "acceptance-tests" ]; then bundle exec rake spec:acceptance ; fi

Semaphore Docs are open source — Edit on GitHub

Newsletter

Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2017 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.