Test Jenkinsfile
Some checks failed
Gitea/Status/pipeline/head There was a failure building this commit
Some checks failed
Gitea/Status/pipeline/head There was a failure building this commit
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user