OP#618 add ssh-agent to last stage

This commit is contained in:
2026-06-13 14:49:53 +02:00
parent 2911d4d783
commit 3999ffc47f

2
Jenkinsfile vendored
View File

@@ -100,6 +100,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',
@@ -123,4 +124,5 @@ pipeline {
} }
} }
} }
}
} }