Committing a bugfix and watching the pipeline’s execution
We have been diligently troubleshooting for the root cause of our bug and we have developed a fix. What happens when we commit that fix to the repository? We want testing and scanning to occur to ensure high-quality code.
This requires that Bitbucket Pipelines is ready to execute when the commit occurs. Let’s learn how to make that possible.
Getting ready
The prerequisites for this recipe are identical to those for the Committing changes in Bitbucket/Start Bitbucket Pipeline Build recipe – that is, we need to make sure there is a bitbucket-pipelines.yml
file in our repository and that it is at the root level of our repository’s directory structure.
How to do it…
Just as with the Committing changes in Bitbucket/Start Bitbucket Pipeline Build recipe, we are going to observe the pipeline execute by performing the following steps:
- In our bugfix branch, we must make a change...