Update Jenkinsfile

This commit is contained in:
木鱼和金鱼 2026-01-23 16:56:14 +08:00 committed by GitHub
parent 8692055be2
commit 26e64cf833
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

12
Jenkinsfile vendored
View File

@ -74,18 +74,6 @@ pipeline {
}
}
stage('Install SSH Client') {
steps {
echo "===============================安装SSH Client========================================"
sh '''
su - root -s /bin/bash -c "
apt-get update -y &&
apt-get install -y openssh-client curl vim &&
apt-get clean # 清理缓存,减小容器体积
"
'''
}
}
stage('Deploy via SSH') {
steps {
withEnv([]) {