#Git #Gitlab #Github #Migration #Jenkins #CICD #SSH #RSA

You can do the migration with the git cli:
1) Mirror the Gitlab repo to your local machine (git clone --mirror )
2) Move to your repo (cd )
3) Remove remote repo (git remote remove origin)
4) Create Repo in github via web interface
5) Add new remote repo (git remote add origin )
6) Push to github (git push origin --mirror)

For the Jenkins integration you can use ssh deploy keys:
1) Create a deploy key (ssh-keygen -t rsa)
2) Add public key to Github (Settings → Deploy Keys)
3) Add private key to Jenkins (Add credentials → ssh username with private key)
4) Select the github repo ssh url and the created credentials within the Jenkins job

Subscribe to #Git #Gitlab #Github #Migration #Jenkins #CICD #SSH #RSA