Search before asking
What happened
The duration_sec attribute in the cicd_pipelines table Gitlab has the wrong value. His value is not the value taken by the API, but it is evaluated here https://github.com/apache/incubator-devlake/blob/d5276df04c02e7df0587b4a7616ddfe01625e5c0/backend/plugins/gitlab/tasks/pipeline_extractor.go#L86 .
What do you expect to happen
I expect to have the value returned by the API https://docs.gitlab.com/ee/api/pipelines.html#get-a-single-pipeline
How to reproduce
Query the cicd_pipelines you see that the value returned by the query is different from the one returned by the GitLab API
Anything else
No response
Version
v0.18.0
Are you willing to submit PR?
Code of Conduct
Search before asking
What happened
The
duration_secattribute in thecicd_pipelinestable Gitlab has the wrong value. His value is not the value taken by the API, but it is evaluated here https://github.com/apache/incubator-devlake/blob/d5276df04c02e7df0587b4a7616ddfe01625e5c0/backend/plugins/gitlab/tasks/pipeline_extractor.go#L86 .What do you expect to happen
I expect to have the value returned by the API https://docs.gitlab.com/ee/api/pipelines.html#get-a-single-pipeline
How to reproduce
Query the
cicd_pipelinesyou see that the value returned by the query is different from the one returned by the GitLab APIAnything else
No response
Version
v0.18.0
Are you willing to submit PR?
Code of Conduct