Skip to main content

Bitbucket Integration

 

By using bitbucket pipelines we can integrated Diffy into your workflow.

 

Let's say you have two environments Development and UAT. Once you do deployment to your Development environment you would like to compare it with UAT visually.

 

So idea is to run `compare` job as one of the steps of pipeline and fail the pipeline if there were some changes.

 

This is how it can be done.

Pipeline itself

Pipeline in essence installs our cli tool and run the shell script below

And here is the script runCheck.sh

As a future enhancements I would suggest passing environment URLs to compare. Especially if you build environments per pull request.