ci: refs #7643 Reprepro SSH credentials debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2024-07-05 13:41:43 +02:00
parent 44a45a25b2
commit 14451121ac
1 changed files with 3 additions and 4 deletions

7
Jenkinsfile vendored
View File

@ -59,18 +59,17 @@ pipeline {
withCredentials([sshUserPrivateKey( withCredentials([sshUserPrivateKey(
credentialsId: 'jenkins-agent', credentialsId: 'jenkins-agent',
usernameVariable: 'user', usernameVariable: 'user',
keyFileVariable: 'identityFile' keyFileVariable: 'keyFile'
)]) { )]) {
script { script {
remote.user = user remote.user = user
//remote.identityFile = identityFile remote.identity = keyFile
remote.identityFile = 'id_ed25519'
remote.name = 'reprepro' remote.name = 'reprepro'
remote.host = 'reprepro.reprepro' remote.host = 'reprepro.reprepro'
remote.allowAnyHosts = true remote.allowAnyHosts = true
remote.logLevel = 'FINEST' remote.logLevel = 'FINEST'
} }
echo "$user $identityFile" echo "$user $keyFile"
sshPut([ sshPut([
remote: remote, remote: remote,
from: "$debFile", from: "$debFile",