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 runmessages whenStartbutton is clicked because jobs are disabled from options. -
Not foundmessage when deleting pipeline -
Not foundmessage when starting pipeline.
What you expected to happen:
UI should present meaningful and actionable error messages. For above scenarios UI can display
- Gray out
Startbutton itself if there are no jobs to start, and/or display message thatCannot run builds because jobs are disabled, goto options page to enable themOrNo 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