From aee6aec82630f9a866694f65ab593eb3bb371b67 Mon Sep 17 00:00:00 2001 From: barnettZQG Date: Mon, 15 Mar 2021 21:24:48 +0800 Subject: [PATCH] fix build time not correct bug --- builder/exector/build_from_sourcecode_run.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/exector/build_from_sourcecode_run.go b/builder/exector/build_from_sourcecode_run.go index d4f75f62a..835afe30b 100644 --- a/builder/exector/build_from_sourcecode_run.go +++ b/builder/exector/build_from_sourcecode_run.go @@ -353,6 +353,7 @@ func (i *SourceCodeBuildItem) UpdateVersionInfo(vi *dbmodel.VersionInfo) error { version.Author = vi.Author version.CodeVersion = vi.CodeVersion version.CodeBranch = vi.CodeBranch + version.FinishTime = time.Now() if err := db.GetManager().VersionInfoDao().UpdateModel(version); err != nil { return err }