-
Bug
-
Resolution: Unresolved
-
Minor
According to the code inspection, there is a JEP-200 issue in the plugin:
This code likely causes a JEP-200 security exception when the object gets persisted to the disk. "java.io.PrintStream" is not whitelisted in Jenkins for a reason, because loggers are not expected reliably after being deserialized from the disk.
Useful links about JEP-200:
- Blog post for users: https://jenkins.io/blog/2018/03/15/jep-200-lts/
- JEP-200 guidelines for plugin developers: https://jenkins.io/blog/2018/01/13/jep-200/#for-plugin-developers
[JENKINS-50983] LoadFocus LoadTest publisher persists PrintStream to the disk (JEP-200)
Component/s | New: loadfocus-loadtest-plugin [ 21223 ] | |
Component/s | Original: loaderio-jenkins [ 17658 ] |
Description |
Original:
According to the code inspection, there is a JEP-200 issue in the plugin: * https://github.com/jenkinsci/loaderio-plugin/blob/987a638da8cfeda2f7cbe7bfab0d71ca920289bc/src/main/java/io/loader/jenkins/LoaderPublisher.java#L73 This code likely causes a JEP-200 security exception when the object gets persisted to the disk. "java.io.PrintStream" is not whitelisted in Jenkins for a reason, because loggers are not expected reliably after being deserialized from the disk. Useful links about JEP-200: * Blog post for users: https://jenkins.io/blog/2018/03/15/jep-200-lts/ * JEP-200 guidelines for plugin developers: https://jenkins.io/blog/2018/01/13/jep-200/#for-plugin-developers |
New:
According to the code inspection, there is a JEP-200 issue in the plugin: * https://github.com/jenkinsci/loadfocus-loadtest-plugin/blob/79a5c19e9a84240b093e78a0c4d0e3f3ac4be75e/src/main/java/com/loadfocus/jenkins/LoadPublisher.java#L46 This code likely causes a JEP-200 security exception when the object gets persisted to the disk. "java.io.PrintStream" is not whitelisted in Jenkins for a reason, because loggers are not expected reliably after being deserialized from the disk. Useful links about JEP-200: * Blog post for users: https://jenkins.io/blog/2018/03/15/jep-200-lts/ * JEP-200 guidelines for plugin developers: https://jenkins.io/blog/2018/01/13/jep-200/#for-plugin-developers |
Assignee | New: LoadFocus [ loadfocus ] |