Page MenuHomePhabricator

tbs: user-story 4 - show cli should use the latest build if no build id is passed
Closed, ResolvedPublic3 Estimated Story Points

Description

When no build id is passed, toolforge build show should select the latest build by start date.

If no build exists, it should give an error message like:

No builds found, you can start one using `toolforge build start`, see the help for more details

Event Timeline

dcaro triaged this task as High priority.Dec 9 2022, 10:42 AM
dcaro created this task.
dcaro added a project: Toolforge Build Service.

Change 883652 had a related patch set uploaded (by Raymond Ndibe; author: Raymond Ndibe):

[cloud/toolforge/toolforge-cli@main] toolforge-cli: better error message when build service is down

https://gerrit.wikimedia.org/r/883652

Change 891692 had a related patch set uploaded (by Raymond Ndibe; author: Raymond Ndibe):

[cloud/toolforge/toolforge-cli@main] toolforge-cli: show should default to latest build when no build id

https://gerrit.wikimedia.org/r/891692

Change 891692 merged by jenkins-bot:

[cloud/toolforge/toolforge-cli@main] toolforge-cli: show should default to latest build when no build id

https://gerrit.wikimedia.org/r/891692