Thanks. Invoking oc will do. I guess I have to oc login everytime?
Somehow related question: can I have one service account with access to start builds across all projects? I created a jenkins service account for this purpose but I'm not sure how to give it access to all projects instead of one by one. On 27 September 2016 at 22:48, Clayton Coleman <[email protected]> wrote: > There is an API for launching a binary build from a build config - you can > do it from a curl call if necessary (run with --loglevel=8 to see an > example of that call). You must send as the contents of the POST call the > source to build as a tar, zip, or tar.gz > > On Sep 27, 2016, at 6:35 AM, Ben Parees <[email protected]> wrote: > > > > On Sep 27, 2016 2:10 AM, "Lionel Orellana" <[email protected]> wrote: > > > > Hi > > > > Is it possible to trigger a binary build in Jenkins using > the openshiftBuild step? > > > > I'm basically trying to run something like > > > > oc start-build <bc> --from-dir=<dir> > > > > but there's no option to pass from-dir in the openshiftBuild step. Are > there plans to support this? > > It's not possible today, but yes it is on our list. In the meantime you > can shell out and invoke oc directly to accomplish the same thing. > > > > > Thanks > > > > > > Lionel. > > > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > > > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > >
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
