在所有作业版本中获取ClassCastException

时间:2019-04-16 20:28:07

标签: jenkins devops classcastexception

我在Jenkins中玩过Groovy设置,然后在Jenkins Master中重新安装了JDK8,然后开始在所有作业版本中获得ClassCastException。

3:22:03 Started by user unknown or anonymous
23:22:03 FATAL: java.lang.Integer cannot be cast to hudson.slaves.NodeProperty
23:22:03 java.lang.ClassCastException: java.lang.Integer cannot be cast to hudson.slaves.NodeProperty
23:22:03    at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:548)
23:22:03    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:462)
23:22:03    at hudson.model.Run.execute(Run.java:1816)
23:22:03    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
23:22:03    at hudson.model.ResourceController.execute(ResourceController.java:97)
23:22:03    at hudson.model.Executor.run(Executor.java:429)
23:22:03 Run condition [Day of week] enabling perform for step [[Archive the artifacts, Publish xUnit test result report, Editable Email Notification]]

0 个答案:

没有答案