{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/6715","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/6715/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/6715/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/6715/events","html_url":"https://github.com/openshift/origin/pull/6715","id":127455863,"number":6715,"title":"Run user-provided command as part of build flow","user":{"login":"rhcarvalho","id":88819,"avatar_url":"https://avatars.githubusercontent.com/u/88819?v=3","gravatar_id":"","url":"https://api.github.com/users/rhcarvalho","html_url":"https://github.com/rhcarvalho","followers_url":"https://api.github.com/users/rhcarvalho/followers","following_url":"https://api.github.com/users/rhcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/rhcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/rhcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhcarvalho/subscriptions","organizations_url":"https://api.github.com/users/rhcarvalho/orgs","repos_url":"https://api.github.com/users/rhcarvalho/repos","events_url":"https://api.github.com/users/rhcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/rhcarvalho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":58,"created_at":"2016-01-19T14:18:59Z","updated_at":"2016-02-11T14:50:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/6715","html_url":"https://github.com/openshift/origin/pull/6715","diff_url":"https://github.com/openshift/origin/pull/6715.diff","patch_url":"https://github.com/openshift/origin/pull/6715.patch"},"body":"This is meant to be used for running project unit tests as part of a build.\r\n\r\nTrello card: https://trello.com/c/I1v1YeOf\r\nCloses #6758\r\n\r\nThis PR/card won't introduce changes to `oc new-build` nor `oc new-app` nor the Web Console.\r\nFor now, the feature can be used via `oc edit bc`.\r\n\r\n-----------------------\r\nPending work:\r\n- [x] agreement on API changes\r\n- [x] tests\r\n- [x] clean up\r\n- [x] maybe move some code to source-to-image\r\n- [ ] ~~if build fails because of failure in the post commit hook, there should be a clear error message to reflect that (see [pkg/build/builder/common.go#L56](https://github.com/openshift/origin/blob/1f99c77a509d2bf179e948c17c68332462811e35/pkg/build/builder/common.go#L56) and [pkg/build/registry/build/strategy.go#L103](https://github.com/openshift/origin/blob/1f99c77a509d2bf179e948c17c68332462811e35/pkg/build/registry/build/strategy.go#L103))~~ trello: https://trello.com/c/nAPDRELK/852-update-build-status-when-post-commit-hook-fails"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/182895329","html_url":"https://github.com/openshift/origin/pull/6715#issuecomment-182895329","issue_url":"https://api.github.com/repos/openshift/origin/issues/6715","id":182895329,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T14:50:25Z","updated_at":"2016-02-11T14:50:25Z","body":"continuous-integration/openshift-jenkins/test ABORTED (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/1029/)"}}