mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
updated Publisher to support auto-discovery.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15683 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
a8188ad45d
commit
b63f162f75
21 files changed
+289
-111
No files matched your search
@@ -49,6 +49,7 @@ import hudson.slaves.RetentionStrategy;
|
||||
import hudson.tasks.BuildStep;
|
||||
import hudson.tasks.Mailer;
|
||||
import hudson.tasks.Maven;
|
||||
import hudson.tasks.Publisher;
|
||||
import hudson.tasks.Maven.MavenInstallation;
|
||||
import hudson.util.ProcessTreeKiller;
|
||||
import hudson.util.StreamTaskListener;
|
||||
@@ -201,11 +202,6 @@ public abstract class HudsonTestCase extends TestCase {
|
||||
for (LenientRunnable r : tearDowns)
|
||||
r.run();
|
||||
|
||||
// TODO: avoid relying on singletons and switch to some DI container.
|
||||
// In the mean time, discard descriptors created during this exercise.
|
||||
// without this, plugins loaded in the tests will be left and interferes with the later tests.
|
||||
cleanUpDescriptors(BuildStep.PUBLISHERS);
|
||||
|
||||
hudson.cleanUp();
|
||||
env.dispose();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user