jenkinsci / jenkins-test-harness

Unit test framework for Jenkins core and its plugins
https://www.jenkins.io/doc/developer/testing/
MIT License
109 stars 126 forks source link

Revert `WithPluginManager` constructor behavior #842

Closed jglick closed 4 weeks ago

jglick commented 4 weeks ago

Reverting https://github.com/jenkinsci/jenkins-test-harness/pull/838#discussion_r1765579500 as it seems to cause a regression I do not understand in hudson.PluginManagerTest.uberClassLoaderIsAvailableDuringStart. The nature of the rootDir parameter passed reflectively is undocumented generally, but LocalPluginManager expects it to be $JENKINS_HOME not $JENKINS_HOME/plugins.