From 3587de181aab02ae07daad947f50a24b5978dcb0 Mon Sep 17 00:00:00 2001 From: jsonwan <1334793794@qq.com> Date: Mon, 18 Jan 2021 19:53:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A5=E6=B5=81=E6=B0=B4=E7=BA=BF=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E4=BA=BA=E8=BA=AB=E4=BB=BD=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/tencent/bk/devops/atom/task/InnerJobAtom.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/tencent/bk/devops/atom/task/InnerJobAtom.kt b/src/main/kotlin/com/tencent/bk/devops/atom/task/InnerJobAtom.kt index 13c51f8..a7ce980 100644 --- a/src/main/kotlin/com/tencent/bk/devops/atom/task/InnerJobAtom.kt +++ b/src/main/kotlin/com/tencent/bk/devops/atom/task/InnerJobAtom.kt @@ -83,7 +83,8 @@ class InnerJobAtom : TaskAtom { result: AtomResult, isCustom: Boolean = false ) { - val userId = param.pipelineStartUserName + // 规避webhook触发下启动人/提交人不一致问题:整个插件全部使用流水线最后保存人作为执行者 + val userId = param.pipelineUpdateUserName val projectId = param.projectName val pipelineId = param.pipelineId val buildId = param.pipelineBuildId @@ -348,4 +349,4 @@ class InnerJobAtom : TaskAtom { } return true } -} \ No newline at end of file +}