Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Conversation

@nbhoski
Copy link
Member

@nbhoski nbhoski commented May 27, 2024

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

@nbhoski nbhoski changed the base branch from master to dev_main May 28, 2024 04:34
Copy link
Member

@sameagen-MW sameagen-MW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember seeing the workspace being used anywhere, but because I don't know the rationale for why that info was stored on the action I want to double check that removing it won't cause any problems.

Otherwise, LGTM!

@nbhoski nbhoski merged commit 3924684 into dev_main May 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use of runMATLABBuild in jenkinsfile, breaks builds

7 participants