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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,286
Community Members
 
Community Events
184
Community Groups

Validate code before push to Bitbucket

Edited

Hi Team,

 

Could any help me understand if there is a way we can intercept/validate code before pushing to Bitbucket other than using Hooks?

 

Thanks,

Syed Adil Shariq.

1 answer

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 28, 2022

@Syed Adil 

Welcome to the community 🙂

Pre-recieve hooks are the only way.

With this there is Git Hooks

Here's a reference

https://gofore.com/en/automate-validating-code-changes-with-git-hooks/

Thanks,

Pramodh

Ulrich Kuhnhardt _IzymesCo_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Aug 29, 2022

At the moment you will need to rely on local git pre-receive hooks as pointed out by @Pramodh M . There is an open feature request for Bitbucket cloud https://jira.atlassian.com/browse/BCLOUD-10471 to enforce hooks remotely.

Please vote to signal to Atlassian that this is a much needed feature.

Best, Ulrich

// Izymes

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events