As a toolforge user, I can check the toolforge build show feature in order to check the progress of the last build.
== How do we know it's done?
Feature: I want to check the status of the last build using the toolforge build show feature.
Background:
Given I'm logged in as a tool (after ssh login.toolforge.org + become mytool)
And I triggered a build with “build start”
Scenario: Build not started yet
Given that the build did not start yet
When running the command toolforge build show
Then I see the the status of the last build as "not started"
And the start time
And the parameters used to start it
Scenario: Started but not finished
Given that the build started but not finished
When running the command toolforge build show
Then I see the the status of the last build as "started"
And the start time
And the parameters used to start it
Scenario: Build finished successfully
Given that the build finished successfully
When running the command toolforge build show
Then I see the the status of the last build as "done"
And the start time
And the end time
And the parameters used to start it
Scenario: Build finished in error
Given that the build finished with error
When running the command toolforge build show
Then I see the the status of the last build as "error"
And the start time
And the end time
And the parameters used to start it
Scenario: Service is down
When I run the command toolforge build show and the service is down
Then I see an error message telling me the service is down
And the message gives me actionable feedback
====This epic contains the following tasks:
//This is a tracking task, so it will be closed once the tasks mentioned below are completed.//
[] {T324823}
[] {T324832}
[x] {T324831}