[JIRA] (JENKINS-57684) PluginWrapper#whichPlugin does not work in tests

3 views
Skip to first unread message

dbeck@cloudbees.com (JIRA)

unread,
May 25, 2019, 5:26:03 PM5/25/19
to jenkinsc...@googlegroups.com
Daniel Beck created an issue
 
Jenkins / Bug JENKINS-57684
PluginWrapper#whichPlugin does not work in tests
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2019-05-25 21:25
Priority: Minor Minor
Reporter: Daniel Beck

The PluginWrapper's class loader is the expected one, but the actual one for plugin classes is surefire's.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

dbeck@cloudbees.com (JIRA)

unread,
May 25, 2019, 5:27:02 PM5/25/19
to jenkinsc...@googlegroups.com
Daniel Beck updated an issue
Change By: Daniel Beck
{{whichPlugin}} will always return {{null}} in tests: The {{PluginWrapper}}'s class loader is the expected one, but the actual one for plugin classes is surefire's.
Reply all
Reply to author
Forward
0 new messages