-
Bug
-
Resolution: Unresolved
-
Major
-
Plugins:
ace-editor 1.1 true
allure-jenkins-plugin 2.28.1 true
ansicolor 0.7.0 true
ant 1.11 true
antisamy-markup-formatter 2.1 true
apache-httpcomponents-client-4-api 4.5.10-2.0 true
authentication-tokens 1.4 true
authorize-project 1.3.0 true
azure-commons 1.0.4 true
bouncycastle-api 2.18 true
branch-api 2.5.6 true
build-pipeline-plugin 1.5.8 true
build-timeout 1.20 true
built-on-column 1.1 true
cloudbees-folder 6.14 true
command-launcher 1.4 true
conditional-buildstep 1.3.6 true
config-file-provider 3.6.3 true
credentials 2.3.11 true
credentials-binding 1.23 true
dashboard-view 2.12 true
display-url-api 2.3.2 true
docker-commons 1.17 true
docker-java-api 3.1.5.2 true
docker-plugin 1.2.0 true
docker-slaves 1.0.7 true
docker-workflow 1.23 true
durable-task 1.34 true
email-ext 2.69 true
embeddable-build-status 2.0.3 true
envinject 2.3.0 true
envinject-api 1.7 true
external-monitor-job 1.7 true
git 4.3.0 true
git-client 3.3.0 true
git-server 1.9 true
github-api 1.114.3 true
global-variable-string-parameter 1.2 true
google-oauth-plugin 1.0.0 true
handlebars 1.1.1 true
icon-shim 2.0.3 true
jackson2-api 2.10.3 true
javadoc 1.5 true
jdk-tool 1.4 true
jenkins-multijob-plugin 1.33 true
jquery 1.12.4-1 true
jquery-detached 1.2.1 true
jsch 0.1.55.2 true
junit 1.29 true
kubernetes 1.26.2 false
kubernetes-cd 2.3.0 true
kubernetes-cli 1.8.3 false
kubernetes-client-api 4.9.2-2 false
kubernetes-credentials 0.7.0 false
ldap 1.24 true
locale 1.4 true
lockable-resources 2.8 true
logstash 2.3.2 true
mailer 1.32 true
mapdb-api 1.0.9.0 true
matrix-auth 2.6.1 true
matrix-project 1.16 true
maven-plugin 3.6 true
mercurial 2.10 true
momentjs 1.1.1 true
multibranch-scan-webhook-trigger 1.0.5 true
oauth-credentials 0.4 true
okhttp-api 3.14.9 true
pam-auth 1.6 true
parameterized-trigger 2.37 true
pipeline-build-step 2.12 true
pipeline-graph-analysis 1.10 true
pipeline-input-step 2.11 true
pipeline-milestone-step 1.3.1 true
pipeline-model-api 1.7.0 true
pipeline-model-declarative-agent 1.1.1 true
pipeline-model-definition 1.7.0 true
pipeline-model-extensions 1.7.0 true
pipeline-rest-api 2.13 true
pipeline-stage-step 2.5 true
pipeline-stage-tags-metadata 1.7.0 true
pipeline-stage-view 2.13 true
pipeline-utility-steps 2.6.1 true
plain-credentials 1.7 true
promoted-builds 3.5 true
publish-over 0.22 true
publish-over-ftp 1.15 true
publish-over-ssh 1.20.1 true
rancher 1.0.13-SNAPSHOT (private-12/31/2018 16:31-yunlong) true
rebuild 1.31 true
resource-disposer 0.14 true
run-condition 1.3 true
scm-api 2.6.3 true
script-security 1.74 true
slack 2.40 true
slack-uploader 1.7 true
snakeyaml-api 1.26.4 true
ssh 2.6.1 true
ssh-credentials 1.18.1 true
ssh-slaves 1.31.2 true
ssh-steps 2.0.0 true
structs 1.20 true
subversion 2.13.1 true
throttle-concurrents 2.0.2 true
timestamper 1.11.3 true
token-macro 2.12 true
trilead-api 1.0.8 true
variant 1.3 true
windows-slaves 1.6 true
workflow-aggregator 2.6 true
workflow-api 2.40 true
workflow-basic-steps 2.20 true
workflow-cps 2.81 true
workflow-cps-global-lib 2.16 true
workflow-durable-task-step 2.35 true
workflow-job 2.39 true
workflow-multibranch 2.21 true
workflow-scm-step 2.11 true
workflow-step-api 2.22 true
workflow-support 3.5 true
ws-cleanup 0.38 truePlugins: ace-editor 1.1 true allure-jenkins-plugin 2.28.1 true ansicolor 0.7.0 true ant 1.11 true antisamy-markup-formatter 2.1 true apache-httpcomponents-client-4-api 4.5.10-2.0 true authentication-tokens 1.4 true authorize-project 1.3.0 true azure-commons 1.0.4 true bouncycastle-api 2.18 true branch-api 2.5.6 true build-pipeline-plugin 1.5.8 true build-timeout 1.20 true built-on-column 1.1 true cloudbees-folder 6.14 true command-launcher 1.4 true conditional-buildstep 1.3.6 true config-file-provider 3.6.3 true credentials 2.3.11 true credentials-binding 1.23 true dashboard-view 2.12 true display-url-api 2.3.2 true docker-commons 1.17 true docker-java-api 3.1.5.2 true docker-plugin 1.2.0 true docker-slaves 1.0.7 true docker-workflow 1.23 true durable-task 1.34 true email-ext 2.69 true embeddable-build-status 2.0.3 true envinject 2.3.0 true envinject-api 1.7 true external-monitor-job 1.7 true git 4.3.0 true git-client 3.3.0 true git-server 1.9 true github-api 1.114.3 true global-variable-string-parameter 1.2 true google-oauth-plugin 1.0.0 true handlebars 1.1.1 true icon-shim 2.0.3 true jackson2-api 2.10.3 true javadoc 1.5 true jdk-tool 1.4 true jenkins-multijob-plugin 1.33 true jquery 1.12.4-1 true jquery-detached 1.2.1 true jsch 0.1.55.2 true junit 1.29 true kubernetes 1.26.2 false kubernetes-cd 2.3.0 true kubernetes-cli 1.8.3 false kubernetes-client-api 4.9.2-2 false kubernetes-credentials 0.7.0 false ldap 1.24 true locale 1.4 true lockable-resources 2.8 true logstash 2.3.2 true mailer 1.32 true mapdb-api 1.0.9.0 true matrix-auth 2.6.1 true matrix-project 1.16 true maven-plugin 3.6 true mercurial 2.10 true momentjs 1.1.1 true multibranch-scan-webhook-trigger 1.0.5 true oauth-credentials 0.4 true okhttp-api 3.14.9 true pam-auth 1.6 true parameterized-trigger 2.37 true pipeline-build-step 2.12 true pipeline-graph-analysis 1.10 true pipeline-input-step 2.11 true pipeline-milestone-step 1.3.1 true pipeline-model-api 1.7.0 true pipeline-model-declarative-agent 1.1.1 true pipeline-model-definition 1.7.0 true pipeline-model-extensions 1.7.0 true pipeline-rest-api 2.13 true pipeline-stage-step 2.5 true pipeline-stage-tags-metadata 1.7.0 true pipeline-stage-view 2.13 true pipeline-utility-steps 2.6.1 true plain-credentials 1.7 true promoted-builds 3.5 true publish-over 0.22 true publish-over-ftp 1.15 true publish-over-ssh 1.20.1 true rancher 1.0.13-SNAPSHOT (private-12/31/2018 16:31-yunlong) true rebuild 1.31 true resource-disposer 0.14 true run-condition 1.3 true scm-api 2.6.3 true script-security 1.74 true slack 2.40 true slack-uploader 1.7 true snakeyaml-api 1.26.4 true ssh 2.6.1 true ssh-credentials 1.18.1 true ssh-slaves 1.31.2 true ssh-steps 2.0.0 true structs 1.20 true subversion 2.13.1 true throttle-concurrents 2.0.2 true timestamper 1.11.3 true token-macro 2.12 true trilead-api 1.0.8 true variant 1.3 true windows-slaves 1.6 true workflow-aggregator 2.6 true workflow-api 2.40 true workflow-basic-steps 2.20 true workflow-cps 2.81 true workflow-cps-global-lib 2.16 true workflow-durable-task-step 2.35 true workflow-job 2.39 true workflow-multibranch 2.21 true workflow-scm-step 2.11 true workflow-step-api 2.22 true workflow-support 3.5 true ws-cleanup 0.38 true
Hello. If i am updating this plugin to latest version, then i can't deploy with kubernetes. It's says that can't parse my yaml file. Version 2.10 is working fine
Logs:
```
kubernetesDeployStarting Kubernetes deployment Loading configuration: /var/jenkins_home/workspace/**edited**/kubernetes.yml ERROR: ERROR: Can't construct a java object for tag:yaml.org,2002:io.kubernetes.client.openapi.models.V1Deployment; exception=Class not found: io.kubernetes.client.openapi.models.V1Deployment in 'reader', line 1, column 1: apiVersion: apps/v1 ^ hudson.remoting.ProxyException: Can't construct a java object for tag:yaml.org,2002:io.kubernetes.client.openapi.models.V1Deployment; exception=Class not found: io.kubernetes.client.openapi.models.V1Deployment in 'reader', line 1, column 1: apiVersion: apps/v1 ^ at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:336) at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:230) at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:219) at io.kubernetes.client.util.Yaml$CustomConstructor.constructObject(Yaml.java:337) at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:173) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:157) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:472) at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:438) at io.kubernetes.client.util.Yaml.loadAs(Yaml.java:224) at io.kubernetes.client.util.Yaml.modelMapper(Yaml.java:494) at io.kubernetes.client.util.Yaml.loadAll(Yaml.java:272) at com.microsoft.jenkins.kubernetes.wrapper.KubernetesClientWrapper.apply(KubernetesClientWrapper.java:236) at com.microsoft.jenkins.kubernetes.command.DeploymentCommand$DeploymentTask.doCall(DeploymentCommand.java:172) at com.microsoft.jenkins.kubernetes.command.DeploymentCommand$DeploymentTask.call(DeploymentCommand.java:124) at com.microsoft.jenkins.kubernetes.command.DeploymentCommand$DeploymentTask.call(DeploymentCommand.java:106) at hudson.FilePath.act(FilePath.java:1162) at com.microsoft.jenkins.kubernetes.command.DeploymentCommand.execute(DeploymentCommand.java:68) at com.microsoft.jenkins.kubernetes.command.DeploymentCommand.execute(DeploymentCommand.java:45) at com.microsoft.jenkins.azurecommons.command.CommandService.runCommand(CommandService.java:88) at com.microsoft.jenkins.azurecommons.command.CommandService.execute(CommandService.java:96) at com.microsoft.jenkins.azurecommons.command.CommandService.executeCommands(CommandService.java:75) at com.microsoft.jenkins.azurecommons.command.BaseCommandContext.executeCommands(BaseCommandContext.java:77) at com.microsoft.jenkins.kubernetes.KubernetesDeploy.perform(KubernetesDeploy.java:42) at com.microsoft.jenkins.azurecommons.command.SimpleBuildStepExecution.run(SimpleBuildStepExecution.java:54) at com.microsoft.jenkins.azurecommons.command.SimpleBuildStepExecution.run(SimpleBuildStepExecution.java:35) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: hudson.remoting.ProxyException: org.yaml.snakeyaml.error.YAMLException: Class not found: io.kubernetes.client.openapi.models.V1Deployment at org.yaml.snakeyaml.constructor.Constructor.getClassForNode(Constructor.java:664) at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.getConstructor(Constructor.java:322) at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:331) ... 30 more
```