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 for JenkinsController.
Author:
Kohsuke Kawaguchi
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    populateJenkinsHome(byte[] template, boolean clean)
    Populates the Jenkins Home with the specified ZIP template.
    void
     
    void
     

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • 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 - if true 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