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(
credentialsId: 'jenkins-agent',
usernameVariable: 'user',
keyFileVariable: 'identityFile'
keyFileVariable: 'keyFile'
)]) {
script {
remote.user = user
//remote.identityFile = identityFile
remote.identityFile = 'id_ed25519'
remote.identity = keyFile
remote.name = 'reprepro'
remote.host = 'reprepro.reprepro'
remote.allowAnyHosts = true
remote.logLevel = 'FINEST'
}
echo "$user $identityFile"
echo "$user $keyFile"
sshPut([
remote: remote,
from: "$debFile",