Closed acelorio closed 3 years ago
Hi @acelorio, Thanks for reporting this bug. I won't have a lot of time to spend behind the keyboard in the next couple of days, therefore I'm looking for an eventual quick fix until https://github.com/jenkinsci/kubernetes-credentials-plugin/pull/35 is merged.
Any chance you try out https://github.com/jenkinsci/kubernetes-cli-plugin/pull/86 ?
Thanks
I merged the branch and released kubernetes-cli
in version 1.10.3.
I tested it once more alongside the kubernetes
plugin in a fresh installation and had no error.
Please let me know if you have any problem with it @acelorio
1.10.3 fixed the issue as far as I can see. Thanks! I think you can close this now.
Version report
Jenkins and plugins versions report:
Jenkins: 2.289.1 OS: Linux - 4.18.0-240.22.1.el8_3.x86_64
[...] kubernetes-client-api:5.4.1 kubernetes-credentials:0.9.0 kubernetes:1.30.0 kubernetes-cli:1.10.2 [...] [abridged for clarity]
Reproduction steps
kubernetes-client-api.version
property in thekubernetes-credentials
plugin to '5.4.1' (because it's the plugin that's pulling the kubernetes-client-api) , installed it locally withmvn install
and pointed the local source code ofkubernetes-cli-plugin
to use my local version ofkubernetes-credentials
. The build fails with:The new
kubernetes-plugin
1.3.0 has pulled in this newkubernetes-client-api:5.4.1
, breaking this plugin viakubernetes-credentials
Results
Expected result:
Before the upgrade to 5.4.1, withKubeConfig would work seamlessly
Actual result:
NoClassDefFoundError