This PR closes #320
The PR includes the fix for the warning messages displayed under Jenkins server logs once runMATLABBuild` is executed.
Issue was FilePath object was getting serialised as mentioned in warning logs below
Fix
Remove Unwanted FailePath object from BuildArtifactAction file.
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
This PR closes #320 The PR includes the fix for the warning messages displayed under Jenkins server logs once runMATLABBuild` is executed.
FilePath
object was getting serialised as mentioned in warning logs belowFix
FailePath
object fromBuildArtifactAction
file.Warning shown under Jenkins server