Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
Jenkins: 2.107.2
FSTrigger: 0.39
Description
Polling from a slave does not seem to work anymore because of a SecurityException (Probably JEP-200).
...
Polling remotely on BuildSlave
Trying to monitor the folder '//server/builds/libs'
[ERROR] - Polling error...
[ERROR] - Error message: java.io.IOException: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@57dea97f: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see https://jenkins.io/redirect/class-filter/
[ERROR] - Error cause: remote file operation failed: C:\jenkins at hudson.remoting.Channel@ffce84:JNLP4-connect connection from atfkjb01/10.10.250.142:3413: java.io.IOException: Failed to deserialize response to UserRequest:org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger$1@57dea97f: java.lang.SecurityException: Rejected: org.jenkinsci.lib.xtrigger.AbstractTrigger; see https://jenkins.io/redirect/class-filter/
Attachments
Issue Links
- blocks
-
JENKINS-51728 FSTrigger plugin affected by JEP-200
-
- Resolved
-
according to this post
https://jenkins.io/blog/2018/03/15/jep-200-lts/#applying-workarounds
You can "work around" the issue by providing the following JAVA opts and restart you Jenkins
-Dhudson.remoting.ClassFilter=org.jenkinsci.plugins.fstrigger.triggers.FolderContentTrigger,
org.jenkinsci.lib.xtrigger.AbstractTrigger
I try it on Plugin 0.39 and it seem to work for me. Hope this help