I am trying to integrate Git and Bitbucket Server/Sourcetree into our existing development environment. I want to leave the existing code locations in place, and have developer pushes end up there (this will allow developers to use our existing code testing infrastructure). However, I do not see how to get BbServer to take a push from a developer, and put the pushed code into the existing code location (a folder on a local drive). Any recommendations that will allow me to maintain my existing environment, and take advantage of BbServer and Git, would be most appreciated.
I think I know what you are looking for, but correct me if I am wrong. When a developer pushes a commit into your Git repository you want that commit to also be pushed to your existing testing infrastructure automatically, correct?
If that is the case you have a couple of options. You could create a Git hook that exist on each client or server side that will push the commit you your testing infrastructure. There are also apps for Bitbucket that can do the same thing, for example External hooks, Scriptrunner, Javascript hooks for Bitbucket to mention a few. You can search the Marketplace to find more.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.