mathworks / jenkins-matlab-plugin

This plugin enables you to run MATLAB® and Simulink® as part of your Jenkins™ build.
45 stars 54 forks source link

Fixed issue #320 #323

Closed nbhoski closed 4 months ago

nbhoski commented 4 months ago

This PR closes #320 The PR includes the fix for the warning messages displayed under Jenkins server logs once runMATLABBuild` is executed.

Warning shown under Jenkins server

May 27, 2024 1:14:42 PM WARNING hudson.FilePath _getChannelForSerialization
A FilePath object is being serialized when it should not be, indicating a bug in a plugin. See https://www.jenkins.io/redirect/filepath-serialization for details.
[java.io](http://java.io/).NotSerializableException: The calling thread Thread[Handling GET /job/free/ from 172.19.148.116 : Jetty (winstone)-20 Job/index.jelly AbstractProject/sidepanel.jelly HistoryWidget/index.jelly,5,main] has no associated channel. The current object null is interface org.jenkinsci.remoting.SerializableOnlyOverRemoting, but it is likely being serialized/deserialized without the channel
    atMay 27, 2024 1:14:42 PM WARNING hudson.FilePath _getChannelForSerialization
A FilePath object is being serialized when it should not be, indicating a bug in a plugin. See https://www.jenkins.io/redirect/filepath-serialization for details.
[java.io](http://java.io/).NotSerializableException: The calling thread Thread[Handling GET /job/free/ from 172.19.148.116 : Jetty (winstone)-20 Job/index.jelly AbstractProject/sidepanel.jelly HistoryWidget/index.jelly,5,main] has no associated channel. The current object null is interface org.jenkinsci.remoting.SerializableOnlyOverRemoting, but it is likely being serialized/deserialized without the channel