mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
Added automatic tool installation for Ant.
- Most of the installer logic is made reusable in DownloadFromUrlInstaller. - ToolDescriptor can now contribute global.jelly to the system configuration page. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18260 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
46b540e5eb
commit
49ace47432
20 files changed
+424
-91
No files matched your search
@@ -618,6 +618,14 @@ public abstract class HudsonTestCase extends TestCase {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the descriptor instance of the current Hudson by its type.
|
||||
*/
|
||||
protected <T extends Descriptor<?>> T get(Class<T> d) {
|
||||
return hudson.getDescriptorByType(d);
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// recipe methods. Control the test environments.
|
||||
|
||||
Reference in new issue
Block a user