d4x1 commented on issue #7005: URL: https://github.com/apache/incubator-devlake/issues/7005#issuecomment-1978784166
Sorry for my late reply. @estefaniasuasti After debugging and testing, I think the root cause is: <img width="468" alt="image" src="https://github.com/apache/incubator-devlake/assets/5844806/7ba9b29d-4b82-4a75-944e-7b864fc160c5"> Target branch `nso/frankfurt` can be regexped in your scope config `(?i)(^(nso/frankfurt)$)`, and this will make current pipeline as `DevLake Deployment`, althrough it's jobs failed. You can verify it by checking your database: 1. `environment` field in `cicd_deployments` should be empty(not `PRODUCTION`). 2. `type` field in `cicd_pipelines` should be `DEPLOYMENT`, `environment` field in `cicd_deployments` should be empty(not `PRODUCTION`). FYI, I have checked code, there are some facts: 1. Table `cicd_deployments`'s data is from `cicd_pipelines` and `cicd_tasks` in most case. 3. Status `passed` in GitLab pipeline's webpage is `success` in its API response. -- 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]
