++
This commit is contained in:
@@ -80,7 +80,7 @@ pipeline {
|
||||
// 构建镜像,添加标签信息
|
||||
sh """
|
||||
docker build -t ${REGISTRY}/${NAMESPACE}/${IMAGE_NAME}:${IMAGE_TAG} \
|
||||
--label "git-branch='${formattedBranch}'" \
|
||||
--label "git-branch='${params.Code_branch}'" \
|
||||
--label "git-commit='${GIT_COMMIT_SHORT}'" \
|
||||
--label "git-author='${GIT_AUTHOR}'" \
|
||||
--label "git-message='${GIT_COMMIT_MSG}'" \
|
||||
|
||||
Reference in New Issue
Block a user