Interface IJenkinsController
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
ExistingJenkinsController
,JBossController
,JenkinsController
,LocalController
,PooledJenkinsController
,TomcatController
,WinstoneController
,WinstoneDockerController
public interface IJenkinsController extends Closeable
Remoting interface forJenkinsController
.- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URL
getUrl()
void
populateJenkinsHome(byte[] template, boolean clean)
Populates the Jenkins Home with the specified ZIP template.void
start()
void
stop()
-
-
-
Method Detail
-
getUrl
URL getUrl()
-
start
void start() throws IOException
- Throws:
IOException
-
stop
void stop() throws IOException
- Throws:
IOException
-
populateJenkinsHome
void populateJenkinsHome(byte[] template, boolean clean) throws IOException
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
-
-