From 173071cd5c76c1062dcf5b8946b1fa2037eff035 Mon Sep 17 00:00:00 2001 From: robbond Date: Sat, 7 Mar 2026 09:29:38 +0000 Subject: [PATCH] fix(ci): add SSH credential diagnostics to deploy stage --- Jenkinsfile | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1d1f4a1..c95d353 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -87,7 +87,8 @@ stage('Deploy') { steps { withCredentials([sshUserPrivateKey( credentialsId: "${env.DEPLOY_SSH_CREDENTIAL_ID}", - keyFileVariable: 'SSH_KEY' + keyFileVariable: 'SSH_KEY', + usernameVariable: 'SSH_USER' )]) { sh ''' bash <