[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Use of new Openshift plugins in Jenkins



Hi Lorenz,

The plugin should automatically pickup the /var/run/secrets/kubernetes.io/.. token that is mounted in.
However, that token has expiration set to 24h AFAIK, so you will have to extended that.

CC'ing Gabe.

On Thu, Feb 11, 2016 at 10:11 AM, Lorenz Vanthillo <lorenz vanthillo outlook com> wrote:
Hi,

We're busy with Jenkins on OpenShift (an experimental fase). We're trying to use the new plugins for it.
Our environment is running on Centos and its version 3.1.
We've installed a Jenkinsserver and we've made it persistent using NFS.
We're with 2 issues at the moment.

At the moment we've 2 steps: Perform a build and Trigger a deployment.
- This is only working when the Project and buildconfig already exists. So our first build is on OpenShift itself. But actually we want to perform that on Jenkins using those plugins.
- What "authorization token for interacting with OpenShift" do we have to fill in? At the moment we're using the token we've generated after:
'oc whoami -t' with our admin-user (=cluster-admin). But we don't think that's the right approach?

Thanks

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]