Is the `oc` client binary in your `$PATH` on the Jenkins server? On Wed, Jul 13, 2016 at 9:50 AM, ABDALA Olga <[email protected]> wrote:
> Thank you Josef, it now works from the Jenkins server in command line. > > > > However, I don’t know why when trying to build a job from Jenkins using a > script, I am being told that the ‘oc’ command is not found. > > Have you encountered that kind of issue? > > > > Thanks. > > > > Josef Karasek [mailto:[email protected]] > *Envoyé :* mercredi 13 juillet 2016 15:32 > *À :* ABDALA Olga > *Cc :* dev > *Objet :* Re: [OpenShift Origin] CLI Installation within Jenkins Server > > > > Use oc binary from Origin - > https://github.com/openshift/origin/releases/tag/v1.3.0-alpha.2 > > Just unpack it and add it to PATH, e.g. copy it to /usr/bin > > > > On Wed, Jul 13, 2016 at 12:25 PM, ABDALA Olga <[email protected]> > wrote: > > Hello, > > > > I am currently trying to *deploy my application to OpenShift 3 using > Jenkins*. > > While following the steps as mentioned in this link > https://blog.openshift.com/deploy-applications-openshift-3-using-jenkins/, > there is a step of installing the “oc” CLI client on the Jenkins server. > > The tutorial sends me to the CLI reference guide which requires a RedHat > account for the CLI installation. > > > > Is there an OpenShift CLI plugin that can be downloaded from Jenkins, or > any other way of installing the CLI on the Jenkins server without > necessarily creating an account (I am using a VM), please? > > > > Thank you in advance for your answers . > > > > Regards, > > > > *Olga * > > The information transmitted in the present email including the attachment > is intended only for the person to whom or entity to which it is addressed > and may contain confidential and/or privileged material. Any review, > retransmission, dissemination or other use of, or taking of any action in > reliance upon this information by persons or entities other than the > intended recipient is prohibited. If you received this in error, please > contact the sender and delete all copies of the material. > > Ce message et toutes les pièces qui y sont éventuellement jointes sont > confidentiels et transmis à l'intention exclusive de son destinataire. > Toute modification, édition, utilisation ou diffusion par toute personne ou > entité autre que le destinataire est interdite. Si vous avez reçu ce > message par erreur, nous vous remercions de nous en informer immédiatement > et de le supprimer ainsi que les pièces qui y sont éventuellement jointes. > > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev > > > The information transmitted in the present email including the attachment > is intended only for the person to whom or entity to which it is addressed > and may contain confidential and/or privileged material. Any review, > retransmission, dissemination or other use of, or taking of any action in > reliance upon this information by persons or entities other than the > intended recipient is prohibited. If you received this in error, please > contact the sender and delete all copies of the material. > > Ce message et toutes les pièces qui y sont éventuellement jointes sont > confidentiels et transmis à l'intention exclusive de son destinataire. > Toute modification, édition, utilisation ou diffusion par toute personne ou > entité autre que le destinataire est interdite. Si vous avez reçu ce > message par erreur, nous vous remercions de nous en informer immédiatement > et de le supprimer ainsi que les pièces qui y sont éventuellement jointes. > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev > >
_______________________________________________ dev mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
