Skip to content

Include list of recent builds in error message - #3890

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
rhcarvalho:issue-3359
Jul 31, 2015
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
rhcarvalho:issue-3359

Conversation

@rhcarvalho

Copy link
Copy Markdown
Contributor

@rhcarvalho

Copy link
Copy Markdown
Contributor Author

[test]

@rhcarvalho

Copy link
Copy Markdown
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
Copy Markdown
Contributor

@openshift-bot

Copy link
Copy Markdown
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

bparees commented Jul 24, 2015

Copy link
Copy Markdown
Contributor

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

bparees commented Jul 24, 2015

Copy link
Copy Markdown
Contributor

lgtm though, nice work @rhcarvalho!

@smarterclayton

Copy link
Copy Markdown
Contributor

Looks great, thanks @rhcarvalho

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 159c06d

@bparees

bparees commented Jul 31, 2015

Copy link
Copy Markdown
Contributor

[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
Copy Markdown
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
Copy Markdown
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.

4 participants