Creating an RSA Key for Jenkins and GitLab

Tiempo de lectura: 2 minutosYou explain how to add an RSA key in Jenkins to authenticate with GitLab: In the Jenkins server (or your local machine), execute: bash ssh-keygen -t rsa -b 4096 -C “[email protected]” Save the keys, for example in ~/.ssh/id_rsa_jenkins. In a Pipeline (Jenkinsfile): groovy pipeline { agent any stages { stage(‘Checkout’) { steps { git credentialsId: … Read more







