fix ssh key

This commit is contained in:
2026-03-07 05:50:20 +00:00
parent 4d1ade2b36
commit 40a076e4e5

2
Jenkinsfile vendored
View File

@@ -47,7 +47,7 @@ pipeline {
stage('Deploy via SSH') { stage('Deploy via SSH') {
steps { steps {
sshagent(credentials: ['mini_cluster']) { sshagent(credentials: ['deploy-ssh-key']) {
sh """ sh """
ssh -o StrictHostKeyChecking=no ${env.DEPLOY_USER}@${env.DEPLOY_HOST} << 'DEPLOY_EOF' ssh -o StrictHostKeyChecking=no ${env.DEPLOY_USER}@${env.DEPLOY_HOST} << 'DEPLOY_EOF'
set -e set -e