Download & Install

Self-hosted CI for Bitbucket

Install via Atlassian Marketplace

Snake CI add-on is available for installation via Atlassian Marketplace: https://marketplace.atlassian.com/1222085

Install via Bitbucket Admin Panel

Navigate to Admin Panel of your Bitbucket Server instance  → Find new apps → search for Snake CITry for free

Bitbucket Data Center

Learn more about compatibility

Subscribe for release notes

Runner

Snake Runner is distributed as Docker Image.

First, after add-on installation, go to Bitbucket Admin PanelRunners and copy registration token.

Then run following command on your Docker host:

docker run \
    --name snake-runner \
    --detach \
    --restart on-failure \
    -e "SNAKE_MASTER_ADDRESS=https://<bitbucket-address-here>/" \
    -e "SNAKE_REGISTRATION_TOKEN=<registration-token-here>" \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /var/lib/snake-runner/secrets/:/var/lib/snake-runner/secrets/ \
    reconquest/snake-runner:latest

Consult runner installation guide for step-by-step instructions.

Source code for runner is available on GitHub.

Docker images can be found on Docker Hub.