feat(tasks): retry failed project tasks
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Failing after 2022h11m24s
Deploy / Production Browser E2E (push) Failing after 2022h1m28s
Deploy / Deploy Production (push) Failing after 2022h2m14s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Failing after 2022h11m24s
Deploy / Production Browser E2E (push) Failing after 2022h1m28s
Deploy / Deploy Production (push) Failing after 2022h2m14s
This commit is contained in:
@@ -20,3 +20,8 @@ export const getProjectTasks = async (projectId: string): Promise<ProjectTaskIte
|
||||
const response = await apiClient.get(`/projects/${projectId}/tasks`);
|
||||
return response.data.items;
|
||||
};
|
||||
|
||||
export const retryProjectTask = async (taskType: string, sourceId: string): Promise<ProjectTaskItem> => {
|
||||
const response = await apiClient.post(`/tasks/${taskType}/${sourceId}/retry`);
|
||||
return response.data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user