Contains classes shared between the Kubernetes Plugin and the Kubernetes CLI Plugin:
- an OpenShift username/password credentials that can fetch a valid Kubernetes token when needed
- an OpenShift secret credentials, which is meant to hold a Kubernetes token
Those credentials are available through the UI and in pipelines.
To build the extension, run:
mvn clean package
and upload target/kubernetes-credentials.hpi
to your Jenkins installation.
To run the tests:
mvn clean test
mvn release:prepare release:perform