Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Satya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Contributor
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