leric opened a new issue, #6975: URL: https://github.com/apache/incubator-devlake/issues/6975
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement. ### Use case As a Devops engineer, I want to collect data from a CICD data source (e.g. Jenkins), and use the collected CICD domain data in reports. ### Description There's 6 tables in CICD domain, currently CICD data source plugins collected pipeline and deployments from data sources, but haven't normalize deployment by the standard defined in CICD domain model. The task to normalize deployment data is defined in DORA plugin, but it has to work with Projects. When we don't have a project defined, we can't complete the CICD data process. (especially when using devlake through API) We can add a optional ScopeId to DoraOptions, when it is set, deployment normalize tasks can use ScopeId rather than ProjectName to decide the range to data to process, if the ScopeId is undefined, behavior of these tasks stay the same, so the change is backward compatible. ### Related issues _No response_ ### Are you willing to submit a PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
