自定义workspace,设置构建名称
currentBuild.description = "${params.tag}" String workspace = "/opt/jenkins/workspace" pipeline { agent any stages { stage('本次发布tag号') { steps { echo "${params.tag}" } } } }
标签:pipeline,自定义,tag,params,workspace,Jenkins From: https://www.cnblogs.com/ggborn-001/p/17815361.html