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
dcf46094f0
commit
5cf6ef5b1c
|
@ -52,13 +52,9 @@ pipeline {
|
|||
}
|
||||
steps {
|
||||
unstash 'debuildOutput'
|
||||
|
||||
script {
|
||||
debFile = sh(script: 'ls output/*.deb', returnStdout: true).trim()
|
||||
|
||||
remote.name = 'reprepro'
|
||||
remote.host = 'reprepro.reprepro'
|
||||
remote.allowAnyHosts = true
|
||||
}
|
||||
|
||||
withCredentials([sshUserPrivateKey(
|
||||
credentialsId: 'jenkins-agent',
|
||||
|
@ -67,8 +63,9 @@ pipeline {
|
|||
)]) {
|
||||
remote.user = user
|
||||
remote.identityFile = identityFile
|
||||
}
|
||||
}
|
||||
remote.name = 'reprepro'
|
||||
remote.host = 'reprepro.reprepro'
|
||||
remote.allowAnyHosts = true
|
||||
|
||||
sshPut([
|
||||
remote: remote,
|
||||
|
@ -81,6 +78,7 @@ pipeline {
|
|||
])
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Container') {
|
||||
when {
|
||||
anyOf {
|
||||
|
|
Loading…
Reference in New Issue