{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/4569","labels_url":"https://api.github.com/repos/openshift/origin/issues/4569/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/4569/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/4569/events","html_url":"https://github.com/openshift/origin/pull/4569","id":105323862,"number":4569,"title":"Add --commit option to start-build","user":{"login":"mfojtik","id":44136,"avatar_url":"https://avatars.githubusercontent.com/u/44136?v=3","gravatar_id":"","url":"https://api.github.com/users/mfojtik","html_url":"https://github.com/mfojtik","followers_url":"https://api.github.com/users/mfojtik/followers","following_url":"https://api.github.com/users/mfojtik/following{/other_user}","gists_url":"https://api.github.com/users/mfojtik/gists{/gist_id}","starred_url":"https://api.github.com/users/mfojtik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfojtik/subscriptions","organizations_url":"https://api.github.com/users/mfojtik/orgs","repos_url":"https://api.github.com/users/mfojtik/repos","events_url":"https://api.github.com/users/mfojtik/events{/privacy}","received_events_url":"https://api.github.com/users/mfojtik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-09-08T08:07:38Z","updated_at":"2015-09-08T09:56:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/4569","html_url":"https://github.com/openshift/origin/pull/4569","diff_url":"https://github.com/openshift/origin/pull/4569.diff","patch_url":"https://github.com/openshift/origin/pull/4569.patch"},"body":"Fixes: https://github.com/openshift/origin/issues/4208\r\n\r\n@deads2k you're wishes become true! This allow to specify the commit hash when starting a build:\r\n\r\n```console\r\n$ oc start-build sample-app --commit=f497b20 --follow\r\nNote: checking out 'f497b20'.\r\n\r\nYou are in 'detached HEAD' state. You can look around, make experimental\r\nchanges and commit them, and you can discard any commits you make in this\r\nstate without impacting any branches by performing another checkout.\r\n\r\nIf you want to create a new branch to retain commits you create, you may\r\ndo so (now or later) by using -b with the checkout command again. Example:\r\n\r\n  git checkout -b new_branch_name\r\n\r\nHEAD is now at f497b20... Test commit\r\nI0908 08:49:18.406199       1 sti.go:406] ---> Installing application source ...\r\n```\r\n\r\n@gabemontero @bparees this is needed for the Jenkins work (being able to specify the current $COMMIT_ID when starting a build in OpenShift."},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/138500247","html_url":"https://github.com/openshift/origin/pull/4569#issuecomment-138500247","issue_url":"https://api.github.com/repos/openshift/origin/issues/4569","id":138500247,"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":"2015-09-08T09:56:51Z","updated_at":"2015-09-08T09:56:51Z","body":"Evaluated for origin merge up to e7c2142f220177d02b0912b7a1283b05430196ff"}}