diff --git a/Jenkinsfile b/Jenkinsfile index 6702e21..204b40f 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: '${GIT_CREDENTIALS_ID}', usernameVariable: 'GIT_USERNAME', passwordVariable: 'GIT_PASSWORD')]) { - git credentialsId: '${GIT_CREDENTIALS_ID}', url: 'ssh://git@gitssh.mainserverprivate.org:8222/vgallegoiz/Status.git' + withCredentials([usernamePassword(credentialsId: 'vgallegoiz', usernameVariable: 'GIT_USERNAME', passwordVariable: 'GIT_PASSWORD')]) { + git credentialsId: 'vgallegoiz', url: 'ssh://git@gitssh.mainserverprivate.org:8222/vgallegoiz/Status.git' } } }