Skip to content

Commit

Permalink
以流水线保存人身份执行
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonwan committed Jan 18, 2021
1 parent c297076 commit 3587de1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ class InnerJobAtom : TaskAtom<InnerJobParam> {
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
Expand Down Expand Up @@ -348,4 +349,4 @@ class InnerJobAtom : TaskAtom<InnerJobParam> {
}
return true
}
}
}

0 comments on commit 3587de1

Please sign in to comment.