Skip navigation links
A B C D E G H I J L M N P R S T U W 

A

after() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Override to tear down your specific external resource.
after() - Method in class io.jenkins.jenkinsfile.runner.JenkinsLauncher
Skips the clean up.
allocate() - Method in interface io.jenkins.jenkinsfile.runner.util.HudsonHomeLoader
Returns a directory to be used as JENKINS_HOME
allocate() - Method in class io.jenkins.jenkinsfile.runner.util.HudsonHomeLoader.CopyExisting
 
allocate() - Method in class io.jenkins.jenkinsfile.runner.util.HudsonHomeLoader.Local
 
allocate() - Method in class io.jenkins.jenkinsfile.runner.util.HudsonHomeLoader.UseExisting
 
allocate() - Method in class io.jenkins.jenkinsfile.runner.util.TemporaryDirectoryAllocator
Allocates a new empty temporary directory and returns it.
App - Class in io.jenkins.jenkinsfile.runner
This code runs after Jetty and Jenkins classloaders are set up correctly.
App() - Constructor for class io.jenkins.jenkinsfile.runner.App
 

B

before() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Override to set up your specific external resource.
before() - Method in class io.jenkins.jenkinsfile.runner.JenkinsLauncher
 
bootstrap - Variable in class io.jenkins.jenkinsfile.runner.JenkinsLauncher
 

C

CLILauncher - Class in io.jenkins.jenkinsfile.runner
Sets up a Jenkins environment that provides an interactive CLI.
CLILauncher(Bootstrap) - Constructor for class io.jenkins.jenkinsfile.runner.CLILauncher
 
configureUpdateCenter() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Configures the update center setting for the test.
configureUserRealm() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
configureUserRealm() - Method in class io.jenkins.jenkinsfile.runner.JenkinsLauncher
Supply a dummy LoginService that allows nobody.
contextPath - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Where in the Server is Jenkins deployed?
CopyExisting(File) - Constructor for class io.jenkins.jenkinsfile.runner.util.HudsonHomeLoader.CopyExisting
Either a zip file or a directory that contains the home image.
CopyExisting(URL) - Constructor for class io.jenkins.jenkinsfile.runner.util.HudsonHomeLoader.CopyExisting
Extracts from a zip file in the resource.
createLocalLauncher() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Creates Launcher.LocalLauncher.
createTaskListener() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Creates a TaskListener connected to stdout.
createUniqueProjectName() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
createWebServer() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Prepares a webapp hosting environment to get ServletContext implementation that we need for testing.
createWebServer() - Method in class io.jenkins.jenkinsfile.runner.JenkinsLauncher
Sets up Jetty without any actual TCP port serving HTTP.

D

decorateHome(JenkinsEmbedder, File) - Method in class io.jenkins.jenkinsfile.runner.util.JenkinsRecipe.Runner
Called right before Jenkins.Jenkins(java.io.File, javax.servlet.ServletContext) is invoked to decorate the hudson home directory.
displayName() - Method in class io.jenkins.jenkinsfile.runner.util.ExecutionEnvironment
 
dispose() - Method in class io.jenkins.jenkinsfile.runner.util.ExecutionEnvironment
 
dispose() - Method in class io.jenkins.jenkinsfile.runner.util.TemporaryDirectoryAllocator
Deletes all allocated temporary directories.
disposeAsync() - Method in class io.jenkins.jenkinsfile.runner.util.TemporaryDirectoryAllocator
Deletes all allocated temporary directories asynchronously.
doLaunch() - Method in class io.jenkins.jenkinsfile.runner.CLILauncher
 
doLaunch() - Method in class io.jenkins.jenkinsfile.runner.JenkinsfileRunnerLauncher
Launch the Jenkins instance No time out and no output message
doLaunch() - Method in class io.jenkins.jenkinsfile.runner.JenkinsLauncher
Actually launches the Jenkins instance, without any time out or output message.

E

env - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
ExecutionEnvironment - Class in io.jenkins.jenkinsfile.runner.util
 
ExecutionEnvironment() - Constructor for class io.jenkins.jenkinsfile.runner.util.ExecutionEnvironment
 

G

get() - Static method in class io.jenkins.jenkinsfile.runner.util.ExecutionEnvironment
 
getDisplayName() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
getExplodedDir() - Static method in class io.jenkins.jenkinsfile.runner.WarExploder
 
getIconFileName() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
getInstance() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
getPluginManager() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
getThreadName() - Method in class io.jenkins.jenkinsfile.runner.CLILauncher
 
getThreadName() - Method in class io.jenkins.jenkinsfile.runner.JenkinsfileRunnerLauncher
 
getThreadName() - Method in class io.jenkins.jenkinsfile.runner.JenkinsLauncher
 
getURL() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Returns the URL of the webapp top page.
getUrlName() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
getWebAppRoot() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 

H

homeLoader - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
HudsonHomeLoader - Interface in io.jenkins.jenkinsfile.runner.util
Controls how JENKINS_HOME is initialized.
HudsonHomeLoader.CopyExisting - Class in io.jenkins.jenkinsfile.runner.util
Allocates a new directory by copying from an existing directory, or unzipping from a zip file.
HudsonHomeLoader.Local - Class in io.jenkins.jenkinsfile.runner.util
Allocates a new directory by copying from a test resource
HudsonHomeLoader.UseExisting - Class in io.jenkins.jenkinsfile.runner.util
Does not allocate a new directory but uses the specified one.

I

interactiveBreak() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Blocks until the ENTER key is hit.
io.jenkins.jenkinsfile.runner - package io.jenkins.jenkinsfile.runner
 
io.jenkins.jenkinsfile.runner.util - package io.jenkins.jenkinsfile.runner.util
 
isJavaIdentifier(String) - Static method in class io.jenkins.jenkinsfile.runner.util.HudsonHomeLoader.Local
 
isSomethingHappening() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Returns true if Hudson is building something or going to build something.

J

jenkins - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
JENKINS_WAR_PATH_PROPERTY_NAME - Static variable in class io.jenkins.jenkinsfile.runner.WarExploder
 
JenkinsEmbedder - Class in io.jenkins.jenkinsfile.runner
Some code is inherited from JenkinsEmbedder in Jenkins Test Harness
JenkinsEmbedder() - Constructor for class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
JenkinsfileRunnerLauncher - Class in io.jenkins.jenkinsfile.runner
Set up of Jenkins environment for executing a single Jenkinsfile.
JenkinsfileRunnerLauncher(Bootstrap) - Constructor for class io.jenkins.jenkinsfile.runner.JenkinsfileRunnerLauncher
 
JenkinsLauncher - Class in io.jenkins.jenkinsfile.runner
Shared behaviour for different modes of launching an embedded Jenkins in the context of jenkinsfile-runner.
JenkinsLauncher(Bootstrap) - Constructor for class io.jenkins.jenkinsfile.runner.JenkinsLauncher
 
JenkinsRecipe - Annotation Type in io.jenkins.jenkinsfile.runner.util
Meta-annotation for recipe annotations, which controls the execution environment set up.
JenkinsRecipe.Runner<T extends Annotation> - Class in io.jenkins.jenkinsfile.runner.util
The code that implements the recipe semantics.

L

launch() - Method in class io.jenkins.jenkinsfile.runner.JenkinsLauncher
 
LenientRunnable - Interface in io.jenkins.jenkinsfile.runner.util
Like Runnable but can throw any exception.
Local(Method, String) - Constructor for class io.jenkins.jenkinsfile.runner.util.HudsonHomeLoader.Local
 
localPort - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
TCP/IP port that the server is listening on.

M

MIME_TYPES - Static variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 

N

NEW - Static variable in interface io.jenkins.jenkinsfile.runner.util.HudsonHomeLoader
Allocates a new empty directory, meaning this will emulate the fresh Hudson installation.
newHudson() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Creates a new instance of Jenkins.
NO_PROPERTIES - Static variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 

P

pause() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Pauses the execution until ENTER is hit in the console.
pin() - Method in class io.jenkins.jenkinsfile.runner.util.ExecutionEnvironment
 

R

recipe() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
recipe() - Method in class io.jenkins.jenkinsfile.runner.JenkinsLauncher
 
recipes - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
run(Bootstrap) - Method in class io.jenkins.jenkinsfile.runner.App
 
run() - Method in interface io.jenkins.jenkinsfile.runner.util.LenientRunnable
 
Runner() - Constructor for class io.jenkins.jenkinsfile.runner.util.JenkinsRecipe.Runner
 

S

server - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
setPluginManager(PluginManager) - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Sets the PluginManager to be used when creating a new Jenkins instance.
setQuietPeriod(int) - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
setup(JenkinsEmbedder, T) - Method in class io.jenkins.jenkinsfile.runner.util.JenkinsRecipe.Runner
Called to prepare the execution environment.

T

tearDown(JenkinsEmbedder, T) - Method in class io.jenkins.jenkinsfile.runner.util.JenkinsRecipe.Runner
Called to shut down the execution environment.
tearDowns - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Runnables to be invoked at JenkinsEmbedder.after() .
temporaryDirectoryAllocator - Variable in class io.jenkins.jenkinsfile.runner.util.ExecutionEnvironment
 
TemporaryDirectoryAllocator - Class in io.jenkins.jenkinsfile.runner.util
Allocates temporary directories and cleans it up at the end.
TemporaryDirectoryAllocator(File) - Constructor for class io.jenkins.jenkinsfile.runner.util.TemporaryDirectoryAllocator
 
TemporaryDirectoryAllocator() - Constructor for class io.jenkins.jenkinsfile.runner.util.TemporaryDirectoryAllocator
 
toString() - Method in class io.jenkins.jenkinsfile.runner.util.ExecutionEnvironment
 

U

UseExisting(File) - Constructor for class io.jenkins.jenkinsfile.runner.util.HudsonHomeLoader.UseExisting
 

W

waitUntilNoActivity() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Waits until Hudson finishes building everything, including those in the queue.
waitUntilNoActivityUpTo(int) - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Waits until Hudson finishes building everything, including those in the queue, or fail the test if the specified timeout milliseconds is
WarExploder - Class in io.jenkins.jenkinsfile.runner
WAR Exploder Implementation for Jenkinsfile Runner.
with(PluginManager) - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
with(HudsonHomeLoader) - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
withExistingHome(File) - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
withNewHome() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
withPresetData(String) - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Declares that this test case expects to start with one of the preset data sets.
A B C D E G H I J L M N P R S T U W 
Skip navigation links

Copyright © 2004–2020. All rights reserved.