Open 18515291426 opened 3 years ago
Im facing the same issue, please fix it
Facing the same. Downgrading both Jackson API to 2.10.3 and Kubernetes-CD plugin to 2.1.0 works but it causes other plugins not to be working. For example, the Kubernetes CLI plugin is not working after downgrading because it requires the Jackson API plugin to be 2.11.3 and higher.
I had to comment out the part in Jenkinsfile that relies on the Kubernetes CLI plugin
Jenkins2.263.1
docker run --detach \
--name jenkins \
--restart=always \
-p 8090:8080 \
-v $PWD/jenkins_home:/var/jenkins_home \
-v /var/run/docker.sock:/var/run/docker.sock \
jenkinsci/blueocean
kubernetes-cd-plugin/pom.xml
<jackson.version>2.10.1</jackson.version>
我在研究如何卸载 Jackson 尝试安装 2.10.1
facing the same issue.. any update on this yet ?
Starting Kubernetes deployment Loading configuration: /root/.jenkins/workspace/container-service/container-open-api-test/test.yaml ERROR: ERROR: Can't construct a java object for tag:yaml.org,2002:io.kubernetes.client.openapi.models.V1Service; exception=Class not found: io.kubernetes.client.openapi.models.V1Service in 'reader', line 1, column 1: apiVersion: v1 ^
hudson.remoting.ProxyException: Can't construct a java object for tag:yaml.org,2002:io.kubernetes.client.openapi.models.V1Service; exception=Class not found: io.kubernetes.client.openapi.models.V1Service in 'reader', line 1, column 1: apiVersion: v1 ^