Quantcast
Channel: How to create a BitBucket hook that reject pushes with bad file name? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Tuan for How to create a BitBucket hook that reject pushes with bad...

@Component public class AltresPreRepositoryHook implements PreRepositoryHook<RepositoryHookRequest> { private final CommitService commitService; @Autowired public...

View Article


How to create a BitBucket hook that reject pushes with bad file name?

I'm trying to make a BitBucket hook that would reject a push if it contained a file not matching a naming convention. So far, I'm able to create a PreRepositoryHook implementation that register the...

View Article

Browsing latest articles
Browse All 2 View Live