Test Jenkinsfile
Some checks failed
Gitea/Status/pipeline/head There was a failure building this commit

This commit is contained in:
2024-05-05 20:24:10 +02:00
parent 9d3cea0350
commit 2ed0bb7b3d

6
Jenkinsfile vendored
View File

@@ -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'
}
}
}