Fix initial double build for OpenShift template
For initial job run, oc new-app
starts new build, and oc start-build
starts second one.
It is not optimal.
Fixed it by creating bc
, if it doesn't exists.
Then usually start build, and create new app, based on this bc
(same name
), if app doesn't exist.