The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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.

TAGS
AUG Leaders

Atlassian Community Events