+++ This bug was initially created as a clone of Bug #1311426 +++ Version-Release number of selected component (if applicable): openshift v1.1.3-228-ge8dd2a2 kubernetes v1.2.0-alpha.7-703-gbc4550d etcd 2.2.5 Description of problem: Cannot implement post-build command when adding Command to bc and build Steps to Reproduce: 1. Login to openshift and create project 2. Create app $oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json 3. Add Command to bc and build "postCommit": { "command": [ "bundle", "exec", "rake", "test", "--verbose" ] } $oc start-build <bc> 4. Check the log Actual results: 4. I0224 09:06:43.877799 1 common.go:134] Running post commit hook with image wewang/ruby-sample-build-10:59791539 ... F0224 09:06:44.568459 1 builder.go:204] Error: build error: start container "openshift_s2i-build_ruby-sample-build-10_wewang_post-commit": API error (404): Cannot start container 62f8bad2d5b107a80b81396de4d4005b3e3e9ed515f71eb1071b8c7b4b9b7c96: [8] System error: exec: "bundle": executable file not found in $PATH total logs:http://pastebin.test.redhat.com/351317 Expected results: Can implement Command and image push to registry
similar problem with bug #1311426, so close it