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 <