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:26:02 +02:00
parent 8f30d8780c
commit c197ac6c24

7
Jenkinsfile vendored
View File

@@ -3,16 +3,13 @@ pipeline {
environment {
SSH_CREDENTIALS_ID = 'SSH'
GIT_CREDENTIALS_ID = 'Gitea-user'
}
stages {
stage('Checkout') {
steps {
// Hace un checkout del repositorio Git utilizando las credenciales de Git
withCredentials([usernamePassword(credentialsId: 'SSH', usernameVariable: 'GIT_USERNAME', passwordVariable: 'GIT_PASSWORD')]) {
git credentialsId: 'SSH', url: 'ssh://git@gitssh.mainserverprivate.org:8222/vgallegoiz/Status.git'
}
// Hace un checkout del repositorio Git utilizando las credenciales SSH
git credentialsId: '${SSH_CREDENTIALS_ID}', url: 'git@gitssh.mainserverprivate.org:vgallegoiz/Status.git'
}
}