Make sure you have installed Snake CI Add-on and configured at least one Snake Runner.
Step 1: Setup your pipeline
You need to create the
snake-ci.yaml file in your repository and include the
list of commands required for accomplising steps of your software life-cycle such as
testing, building, and even deploying.
Step 2: Push the config into the repository
Add your changes to Git, commit, and push to Bitbucket:
git add snake-ci.yaml git commit -m "Integrate Snake CI" git push origin
Step 3: Watch the pipeline running
During the 2nd step, you will get the direct link to the pipeline created by your latest commit. You can also find this pipeline by navigating to the Pipelines menu in the sidebar of your Bitbucket repository.
The pipeline is started already and you will see all the jobs related to the stages described in your configuration file.
Click on a job and watch its logs. If everything is going well, the pipeline will finish with status completed, otherwise, it will be failed.