(self, projects)
| 4695 | self.start_tomcat(get) |
| 4696 | |
| 4697 | def _multi_remove_springboot(self, projects): |
| 4698 | get = public.dict_obj() |
| 4699 | for project in projects: |
| 4700 | # 停止项目 |
| 4701 | get.project_name = project["name"] |
| 4702 | self.stop_project(get) |
| 4703 | # 删除项目 |
| 4704 | pid_file = project['project_config']['pids'] |
| 4705 | if os.path.exists(pid_file): os.remove(pid_file) |
| 4706 | script_file = project['project_config']['scripts'] |
| 4707 | if os.path.exists(script_file): os.remove(script_file) |
| 4708 | log_file = project['project_config']['logs'] |
| 4709 | if os.path.exists(log_file): os.remove(log_file) |
| 4710 | |
| 4711 | def multi_set_project(self, get): |
| 4712 | ''' |
no test coverage detected