-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.102
The GitHub PR Builder plugin gets flagged after updating to 2.102 breaking automated PR jobs:
WARNING: org.kohsuke.github.GHPullRequestCommitDetail$Authorship in file:/var/lib/jenkins/plugins/github-api/WEB-INF/lib/github-api-1.90.jar might be dangerous, so rejecting; see https://jenkins.io/redirect/class-filter/ Jan 15, 2018 1:55:20 PM jenkins.security.ClassFilterImpl lambda$isBlacklisted$1 WARNING: org.kohsuke.github.GHUser in file:/var/lib/jenkins/plugins/github-api/WEB-INF/lib/github-api-1.90.jar might be dangerous, so rejecting; see https://jenkins.io/redirect/class-filter/
The mitigation technique worked by adding the class names to the Hudson classfilter:
-Dhudson.remoting.ClassFilter=org.kohsuke.github.*
^ This doesn't actually work, would need to force all of the dependent classes individually here. In my case, the WARNING messages just didn't show up in the log until later than I expected and still resulted in the build.xml throwing the stack traces below when a job using the GHPRB was run.
- is duplicated by
-
JENKINS-48952 java.lang.RuntimeException: Failed to serialize hudson.model.Actionable
- Resolved
-
JENKINS-51511 Build job serialization is failing on 2.107.3 LTS causing loss of data.
- Resolved
-
JENKINS-51663 BuildNameSetter Plugin failing serialization
- Resolved
- is related to
-
JENKINS-51511 Build job serialization is failing on 2.107.3 LTS causing loss of data.
- Resolved
- relates to
-
JENKINS-48954 GitHub API plugin should whitelist Model classes of GitHub API
- Resolved
-
JENKINS-49282 Caused by: java.lang.UnsupportedOperationException: Refusing to marshal org.kohsuke.github.GHRepository for security reasons;
- Resolved
- links to