OP#618 add ssh-agent to last stage
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -98,6 +98,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',
|
||||||
@@ -121,4 +122,5 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user