Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include list of recent builds in error message #3890

Merged
merged 1 commit into from Jul 31, 2015

Conversation

rhcarvalho
Copy link
Contributor

@rhcarvalho
Copy link
Contributor Author

[test]

@rhcarvalho
Copy link
Contributor Author

This is how is looks like if you have one or more builds in the current project:

$ oc start-build rails-example
rails-example-12
$ oc build-logs 
error: A build name is required. Most recent builds:
* rails-example-12      New     2 seconds ago
* rails-example-11      Failed  5 hours ago
* rails-example-10      Failed  5 hours ago
* rails-example-9       Failed  5 hours ago
* rails-example-8       Failed  5 hours ago
* rails-example-7       Failed  5 hours ago
* rails-example-6       Failed  5 hours ago
* rails-example-5       Failed  5 hours ago
* rails-example-4       Failed  5 hours ago
* rails-example-3       Failed  15 hours ago
see 'oc build-logs -h' for help.

And in case of no builds:

$ oc build-logs 
error: There are no builds in the current project
see 'oc build-logs -h' for help.

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/3843/)

@openshift-bot
Copy link
Contributor

Evaluated for origin up to 159c06d

@bparees bparees changed the title Include list of recent builds in error message [DO_NOT_MERGE] Include list of recent builds in error message Jul 24, 2015
@bparees
Copy link
Contributor

bparees commented Jul 24, 2015

tagging do not merge as this is not a priority for 3.0.1, we'll merge it after 3.0.1 gets out the door.

@bparees
Copy link
Contributor

bparees commented Jul 24, 2015

lgtm though, nice work @rhcarvalho!

@smarterclayton
Copy link
Contributor

Looks great, thanks @rhcarvalho

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 159c06d

@bparees
Copy link
Contributor

bparees commented Jul 31, 2015

[merge]

@bparees bparees changed the title [DO_NOT_MERGE] Include list of recent builds in error message Include list of recent builds in error message Jul 31, 2015
@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/2866/) (Image: devenv-fedora_2086)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 159c06d

openshift-bot pushed a commit that referenced this pull request Jul 31, 2015
@openshift-bot openshift-bot merged commit 12faf37 into openshift:master Jul 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants