Update Jenkinsfile
This commit is contained in:
parent
8692055be2
commit
26e64cf833
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -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([]) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user