-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: machine-learning-plugin
-
None
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] ipythonBuilder
java.lang.NullPointerException
at io.jenkins.plugins.ml.IPythonBuilder.perform(IPythonBuilder.java:111)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Fails when giving an unknown kernel in pipeline scripts
step([$class: 'IPythonBuilder', parserType: 'text',code:'print(23)', task:'Training', kernelName:'igo'])