From 2ed0bb7b3df836baf9faf1db1f4f8be89aa1a171 Mon Sep 17 00:00:00 2001 From: vgallegoiz Date: Sun, 5 May 2024 20:24:10 +0200 Subject: [PATCH] Test Jenkinsfile --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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' } } }