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 edited

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
atlassian, compass, developer experience, devex, platform engineering, internal developer platform, component catalog, atlassian learning, productivity tools, developer productivity, software architecture, compass webinar, engineering teams

Discover how Compass drives DevEx and productivity at Atlassian 🏃🏻‍♂️

Learn why Compass was built to tackle dev experience at scale. See how Atlassian uses it to boost visibility, reduce cognitive load, and drive consistency—plus tips to get started and customize your IDP for stronger team engagement.

Join the webinar ✨
AUG Leaders

Atlassian Community Events