ci: refs #7643 Reprepro SSH credentials fix
gitea/hedera-web/pipeline/head There was a failure building this commit
Details
gitea/hedera-web/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
59e7999385
commit
c6589989d4
|
@ -52,20 +52,22 @@ pipeline {
|
|||
}
|
||||
steps {
|
||||
unstash 'debuildOutput'
|
||||
|
||||
script {
|
||||
debFile = sh(script: 'ls output/*.deb', returnStdout: true).trim()
|
||||
}
|
||||
|
||||
withCredentials([sshUserPrivateKey(
|
||||
credentialsId: 'jenkins-agent',
|
||||
usernameVariable: 'user',
|
||||
keyFileVariable: 'identityFile'
|
||||
)]) {
|
||||
remote.name = 'reprepro'
|
||||
remote.host = 'reprepro.reprepro'
|
||||
remote.allowAnyHosts = true
|
||||
remote.user = user
|
||||
remote.identityFile = identityFile
|
||||
|
||||
withCredentials([sshUserPrivateKey(
|
||||
credentialsId: 'jenkins-agent',
|
||||
usernameVariable: 'user',
|
||||
keyFileVariable: 'identityFile'
|
||||
)]) {
|
||||
remote.user = user
|
||||
remote.identityFile = identityFile
|
||||
}
|
||||
}
|
||||
|
||||
sshPut([
|
||||
|
|
Loading…
Reference in New Issue