#feature: add Jenkins deploy monitor & log clean task
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user