Jenkins时区设置为北京时间 打开 【系统管理】->【脚本命令行】运行下面的命令
System.setProperty('org.apache.commons.jelly.tags.fmt.timeZone', 'Asia/Shanghai')
1.在jenkins上安装SSHpipeline Step Plugins
2.scripts
pipeline{
agent any
stages {
stage ('Pipeline configuration') {
agent none
steps {
script {
stage ('Pull & PushImage') {
def remote = [:]
remote.name = 'test'
remote.hos