Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#10429 from royalhuang/pac_github
Browse files Browse the repository at this point in the history
feat:流水线版本管理机制 TencentBlueKing#8161 修复传参问题
  • Loading branch information
bkci-bot authored May 29, 2024
2 parents dd25a9b + 8918d64 commit ff00c8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@ class PipelineBuildDao {
// queueTime在数据库中必定会写值,不为空,以防万一用当前时间兜底
queueTime = t.queueTime?.timestampmilli() ?: LocalDateTime.now().timestampmilli(),
startUser = t.startUser,
triggerUser = t.triggerUser,
triggerUser = t.triggerUser ?: t.startUser ?: "",
startTime = t.startTime?.timestampmilli(),
endTime = t.endTime?.timestampmilli(),
taskCount = t.taskCount,
Expand Down Expand Up @@ -1802,7 +1802,7 @@ class PipelineBuildDao {
status = BuildStatus.values()[t.status],
queueTime = t.queueTime?.timestampmilli() ?: 0L,
startUser = t.startUser,
triggerUser = t.triggerUser,
triggerUser = t.triggerUser ?: t.startUser ?: "",
startTime = t.startTime?.timestampmilli() ?: 0L,
endTime = t.endTime?.timestampmilli() ?: 0L,
taskCount = t.taskCount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class PipelineBuildService(
)?.settingVersion?.let {
pipelineSettingVersionService.getPipelineSetting(
userId = userId,
projectId = pipeline.pipelineId,
projectId = pipeline.projectId,
pipelineId = pipeline.pipelineId,
detailInfo = null,
version = it
Expand Down

0 comments on commit ff00c8c

Please sign in to comment.