diff --git a/Jenkinsfile b/Jenkinsfile index dd47581..344e450 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,8 +10,8 @@ pipeline { stage('Checkout') { steps { // Hace un checkout del repositorio Git utilizando las credenciales de Git - withCredentials([usernamePassword(credentialsId: 'Gitea-user', usernameVariable: 'GIT_USERNAME', passwordVariable: 'GIT_PASSWORD')]) { - git credentialsId: 'Gitea-user', url: 'ssh://git@gitssh.mainserverprivate.org:8222/vgallegoiz/Status.git' + withCredentials([usernamePassword(credentialsId: 'SSH', usernameVariable: 'GIT_USERNAME', passwordVariable: 'GIT_PASSWORD')]) { + git credentialsId: 'SSH', url: 'ssh://git@gitssh.mainserverprivate.org:8222/vgallegoiz/Status.git' } } }