Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to setup bitbucket so that it will automatically detect an uncompilable code being pushed

Satya March 5, 2022

Is there a way to setup bitbucket so that it will automatically detect an uncompilable code being pushed and one can't raise a PR?

1 answer

0 votes
Ankit Gupta March 6, 2022

You could create a bitbucket pipeline and configure it to build your code.

You can then configure your branch PR (in settings>workflow>branch strategies) to merge only if the build passes.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events