This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new ac53ea108 [bamboo] fix #6082 (#6096)
ac53ea108 is described below
commit ac53ea108c6a9b432d576b858dac66900dea8c99
Author: Lynwee <[email protected]>
AuthorDate: Fri Sep 15 16:00:37 2023 +0800
[bamboo] fix #6082 (#6096)
* fix(zentao): fix progress field when configurating scopes
* fix(bamboo): fix cicd_scope.url field
* fix(bamboo): fix e2e test
* refactor(bamboo): update cicd_scopes.url field
* fix(bamboo): fix e2e test
* fix(bamboo): remove unused codes
* fix(bamboo): add cicd_tasks.duration_sec field
---
backend/plugins/bamboo/tasks/job_build_convertor.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/backend/plugins/bamboo/tasks/job_build_convertor.go
b/backend/plugins/bamboo/tasks/job_build_convertor.go
index 62d2a05dd..68deee49b 100644
--- a/backend/plugins/bamboo/tasks/job_build_convertor.go
+++ b/backend/plugins/bamboo/tasks/job_build_convertor.go
@@ -65,6 +65,7 @@ func ConvertJobBuilds(taskCtx plugin.SubTaskContext)
errors.Error {
domainJobBuild := &devops.CICDTask{
DomainEntity: domainlayer.DomainEntity{Id:
jobBuildIdGen.Generate(data.Options.ConnectionId, line.JobBuildKey)},
Name: line.JobName,
+ DurationSec:
uint64(line.BuildDurationInSeconds),
StartedDate: *line.BuildStartedTime,
FinishedDate: line.BuildCompletedDate,
PipelineId:
planBuildIdGen.Generate(data.Options.ConnectionId, line.PlanBuildKey),