#feature: add Jenkins deploy monitor & log clean task

This commit is contained in:
2026-01-19 11:46:38 +08:00
parent 381d5e6e49
commit da3b05b7c0
22 changed files with 968 additions and 80 deletions

View File

@@ -82,6 +82,8 @@ class ProjectController extends Controller
'log_app_names' => ['nullable', 'array'],
'log_app_names.*' => ['string', 'max:100'],
'log_env' => ['nullable', 'string', 'max:50'],
'jenkins_job_name' => ['nullable', 'string', 'max:255'],
'jenkins_notify_enabled' => ['nullable', 'boolean'],
]);
$project = $this->projectService->create($data);
@@ -126,6 +128,8 @@ class ProjectController extends Controller
'log_app_names' => ['nullable', 'array'],
'log_app_names.*' => ['string', 'max:100'],
'log_env' => ['nullable', 'string', 'max:50'],
'jenkins_job_name' => ['nullable', 'string', 'max:255'],
'jenkins_notify_enabled' => ['nullable', 'boolean'],
]);
$project = $this->projectService->update($project, $data);