You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
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).
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:
the following is a plugin from atlassian marketplace:
Looking forward to your feedback or also info if you already found a solution and if so: which one.
@pavanraga I guess there might be lot´s of hick-ups between the systems or data that might not be thought of and not considered to be in a webhook as (my personal view) the system and actions/pipelines were not meant to built/used like this.
Why should I use 1 git environment for hosting my code and another git environment to write pipelines to handle the code in the other environment (as 1 and the same environment could do both) ?
This is such a specific question that needs to be called to the vendors. Pesonally I can´t answer this question as there is too much unknown.