Add a page for retrying a CI job with new input values
Summary
- User clicks the
Retryjob icon (from anywhere)- If the job does not have inputs defined, the job just retries as usual
- If the job does have inputs defined, the user is redirected to a new
jobs/:job_id/retrypage - Backend will need to add information on whether the job has inputs to your available job data
- The job retry page will have an inputs form just like the new pipeline page
- All the input keys will be pre-populated
- The input values will be pre-populated if they have defaults
-
Job inputs might have additional things to consider, like a "struct" type that doesn't exist for pipeline inputs
- These items might come as enhancements, not part of the main epic
Definition of Done
MVC
Users can have two options when retrying a job:
- Retry job with default values
- Retry job with custom values by updating inputs or variables: The logic can be the same as on the new pipeline pages. If both options are available, users will see inputs and variables.
In future iterations, users will have the same options for the manual job: #547649[Job_inputs-only-manual.png]
Details
Design spec
Roles involved
- Design
- Technical Writing
- Backend
- Frontend
- Test engineering
NOTE: When work is ready to be defined, please create appropriate sub-tasks.
Edited by 🤖 GitLab Bot 🤖