OP#618 add ssh-agent to last stage

This commit is contained in:
2026-06-13 14:42:00 +02:00
parent e554f0f611
commit 20ca565dd1
2 changed files with 21 additions and 18 deletions

1
.gitignore vendored
View File

@@ -5,3 +5,4 @@ FileList
.vscode .vscode
.puppet-lint.rc .puppet-lint.rc
.rspec .rspec
.git/

2
Jenkinsfile vendored
View File

@@ -106,6 +106,7 @@ pipeline {
stage('Mirror to Gitea') { stage('Mirror to Gitea') {
steps { steps {
sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) {
withCredentials([usernamePassword( withCredentials([usernamePassword(
credentialsId: 'Jenkins-gitea', credentialsId: 'Jenkins-gitea',
usernameVariable: 'GITEA_USER', usernameVariable: 'GITEA_USER',
@@ -129,5 +130,6 @@ pipeline {
} }
} }
} }
}
} }