Interface IJenkinsController
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
ExistingJenkinsController
,JBossController
,JenkinsController
,LocalController
,PooledJenkinsController
,TomcatController
,WinstoneController
,WinstoneDockerController
Remoting interface for
JenkinsController
.- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptiongetUrl()
void
populateJenkinsHome
(byte[] template, boolean clean) Populates the Jenkins Home with the specified ZIP template.void
start()
void
stop()
-
Method Details
-
getUrl
URL getUrl() -
start
- Throws:
IOException
-
stop
- Throws:
IOException
-
populateJenkinsHome
Populates the Jenkins Home with the specified ZIP template. Jenkins will not be restarted, so if the content would require a restart you have to do this yourself.- Parameters:
template
- The template (ZIP format).clean
- iftrue
then the home will be wiped clean before the template is applied. If false then the template will simply overwrite the existing (if any) home.- Throws:
IOException
-