We do have a setup of hosting Code in Bitbucket and building it using Jenkins. We would like to get rid of Jenkins and move to Azure DevOps or Github Enterprise but keep the Repositories in Bitbucket. I can find documentation on how to integrate Bitbucket into Azure DevOps Pipelines but I cannot find any documentation on how to use Github Actions to do the same.I assume it should be feasable by defining webhooks in Bitbucket to trigger Github Actions. Did anybody already do this? Is this possible? Is there a documentation somewehere out there?ThanksThimo
Hi @Thimo König ,
first, thb: I´m not proficient with Github Enterprise (just github cloud) but as I got it those are 2 completly different things.
What is the requirement behind that? Why should source code be exchanged between 2 systems when the functionality could be implemented in either 1 of them (more likely even easier and more reliable).
Personally I am a BIG fan of github actions (one reason I chose github). If bitbucket is a hard requirement I would stick to pipelines (or to something that has kind of native integration like bamboo).
BestStefan
Hi @Stefan Salzl ,
the requirement is to have a smooth migration path. The objective is to move away the current Bitbucket and Jenkins setup and to use github only. The first step would be to move the build and then later the repository too.Github Enterprise is not that different as you think. Basically it is the github but running in an OnPrem DataCenter rather then the cloud. So from a feature perspective they are absolutly comparable.In the meanwhile I guess I found an option. The problem seems to be that github actions are way more integrated into the version control system. Seems like the best approach would be to automatically mirror the bitbucket repo to github so actions could be used. Any ideas/comments on this approach?
Hi @Thimo König
I disucessed with some of my colleagues and did a small research on that topic. I just can come up with 2 things/links describing the mirroring of bitbucket to github. Therefore I guess this can be done. I just don´t have any experience with but thought it might be interesting for to give it a shot:
it seems this is native git:https://www.basvanbeek.nl/linux/how-to-mirror-bitbucket-repository-to-github/
the following is a plugin from atlassian marketplace:https://marketplace.atlassian.com/apps/1211351/repository-mirror-plugin-for-bitbucket?tab=overview&hosting=server
Looking forward to your feedback or also info if you already found a solution and if so: which one.
Is mirroring the git repos to github the only way?
can we not have git action (runnners on cloud or self hosted) directly integrate with bitbucket through webhooks?
It looks like you're new here. Sign in or register to get started.