diff --git a/Jenkinsfile b/Jenkinsfile index 204b40f..dd47581 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,15 +3,15 @@ pipeline { environment { SSH_CREDENTIALS_ID = 'SSH' - GIT_CREDENTIALS_ID = 'vgallegoiz' + GIT_CREDENTIALS_ID = 'Gitea-user' } stages { stage('Checkout') { steps { // Hace un checkout del repositorio Git utilizando las credenciales de Git - withCredentials([usernamePassword(credentialsId: 'vgallegoiz', usernameVariable: 'GIT_USERNAME', passwordVariable: 'GIT_PASSWORD')]) { - git credentialsId: 'vgallegoiz', url: 'ssh://git@gitssh.mainserverprivate.org:8222/vgallegoiz/Status.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' } } }