I'm using pipelines in Bitbucket and PHPUnit code. Validation is done on every git push. I would like to know if it is possible to cancel push (don't commit changes) when validation doesn't pass. At the moment, git push pushes the committed code even if pipelines validation doesn't pass.
Any suggestions/recommendations would be great!
This is not possible. Pipelines can't test any commits until it has them - and it doesn't get them until the push is complete.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.