screwdriver
screwdriver copied to clipboard
Display meaningful error messages
What happened:
Many cases Screwdriver displays error messages as it is from underlying SCM or backend layers without any context. Examples
-
No jobs to run
messages whenStart
button is clicked because jobs are disabled from options. -
Not found
message when deleting pipeline -
Not found
message when starting pipeline.
What you expected to happen:
UI should present meaningful and actionable error messages. For above scenarios UI can display
- Gray out
Start
button itself if there are no jobs to start, and/or display message thatCannot run builds because jobs are disabled, goto options page to enable them
OrNo jobs configured to run for Pull requests.
OrNo jobs configured to run for commit
- SCM repository not found. Please reach out to Screwdriver admins to delete.
- SCM Repository not found. Please reach out to Screwdriver admins
How to reproduce it:
Hi @jithine , I would love to take a look at this. please assign it to me.
Could be related to https://github.com/screwdriver-cd/screwdriver/issues/2768
@tkyi thanks will take a look