Class ExistingJenkinsController

    • Constructor Detail

      • ExistingJenkinsController

        public ExistingJenkinsController​(com.google.inject.Injector i,
                                         String url)
      • ExistingJenkinsController

        public ExistingJenkinsController​(com.google.inject.Injector i,
                                         String url,
                                         @CheckForNull
                                         org.apache.http.auth.Credentials initialCredentials,
                                         boolean skipCheck)
    • Method Detail

      • populateJenkinsHome

        public void populateJenkinsHome​(byte[] template,
                                        boolean clean)
                                 throws IOException
        Description copied from interface: IJenkinsController
        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