Update Jenkinsfile
This commit is contained in:
parent
cab22d6382
commit
d6c016f44a
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -78,8 +78,11 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
echo "===============================安装SSH Client========================================"
|
echo "===============================安装SSH Client========================================"
|
||||||
sh '''
|
sh '''
|
||||||
# 基于 Debian 镜像的 Jenkins(官方镜像默认是 Debian)
|
su - root -c "
|
||||||
sudo apt-get update && apt-get install -y openssh-client
|
apt-get update -y &&
|
||||||
|
apt-get install -y openssh-client curl vim &&
|
||||||
|
apt-get clean # 清理缓存,减小容器体积
|
||||||
|
"
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user