(self, base_url, org_sid, team_name, options)
| 175 | self.create_scans(base_url, org_sid, team_name, repo_id, project_id) |
| 176 | |
| 177 | def get_scan_cons_preproccess(self, base_url, org_sid, team_name, options): |
| 178 | if options['repo_id'] is None: |
| 179 | logger.error("repo_id 不能为空!") |
| 180 | return |
| 181 | repo_id = options['repo_id'] |
| 182 | if options['project_id'] is None: |
| 183 | logger.error("project_id 不能为空!") |
| 184 | return |
| 185 | project_id = options['project_id'] |
| 186 | if options['job_id'] is None: |
| 187 | logger.error("job_id 不能为空!") |
| 188 | return |
| 189 | job_id = options['job_id'] |
| 190 | |
| 191 | self.get_scan_cons(base_url, org_sid, team_name, repo_id, project_id, job_id) |
| 192 | |
| 193 | def get_overview_preproccess(self, base_url, org_sid, team_name, options): |
| 194 | if options['repo_id'] is None: |
no test coverage detected