jenkins pipeline : pipeline { agent any parameters { string(name: 'git_version', defaultValue: 'v1.1', description: '请输出你要上线tag版本') } stages{ stage('获取代码') { steps { checkout([$class: 'GitSCM', branches: [[name: '${git_version}']], doGenerateSubmodul…