I would like to use the built-in jenkins-cli for our automation towards Jenkins.
However, we are using the Openshift OAuth login integration. For this to work, we need to use the Openshift token as Bearer to be able to login, but jenkins-cli always creates Basic value in the auth header.
I would like to use the built-in jenkins-cli for our automation towards Jenkins.
However, we are using the Openshift OAuth login integration. For this to work, we need to use the Openshift token as Bearer to be able to login, but jenkins-cli always creates Basic value in the auth header.
E.g. we would like to do something as the following ("oc" is the Openshift client):
I would like to use the built-in jenkins-cli for our automation towards Jenkins.
However, we are using the Openshift OAuth login integration. For this to work, we need to use the Openshift token as Bearer to be able to login, but jenkins-cli always creates Basic value in the auth header.
EI.ge. we would like to do something as the following ("oc" is the Openshift client):