(self, base_url, org_sid, team_name, options)
| 163 | self.create_project(base_url, org_sid, team_name, repo_id, payload) |
| 164 | |
| 165 | def create_scans_preproccess(self, base_url, org_sid, team_name, options): |
| 166 | if options['repo_id'] is None: |
| 167 | logger.error("repo_id 不能为空!") |
| 168 | return |
| 169 | repo_id = options['repo_id'] |
| 170 | if options['project_id'] is None: |
| 171 | logger.error("project_id 不能为空!") |
| 172 | return |
| 173 | project_id = options['project_id'] |
| 174 | |
| 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: |
no test coverage detected