update jenkinsfile

This commit is contained in:
2026-03-15 23:11:27 +00:00
parent 1d7aa31a11
commit 027aedb234

2
Jenkinsfile vendored
View File

@@ -50,7 +50,7 @@ pipeline {
script { script {
env.DEPLOY_BRANCH = env.BRANCH_NAME ?: 'main' env.DEPLOY_BRANCH = env.BRANCH_NAME ?: 'main'
} }
sshagent(credentials: ['deploy-ssh-key']) { sshagent(credentials: ['mini2']) {
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