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

A

abbreviateClassName(String, int) - Method in class io.jenkins.jenkinsfile.runner.util.SupportLogFormatter
 
add(I, String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
addView(View) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
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.JenkinsfileRunnerRule
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.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
 
apply(Statement, Description) - Method in class io.jenkins.jenkinsfile.runner.JenkinsfileRunnerRule
No time out and no output message

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.JenkinsfileRunnerRule
 

C

canAdd(TopLevelItem) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
canDelete(View) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
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.JenkinsfileRunnerRule
Supply a dummy LoginService that allows nobody.
contextPath - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Where in the Server is Jenkins deployed?
copy(T, String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
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.
createProject(TopLevelItemDescriptor, String, boolean) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
createProject(Class<T>, String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
Convenience method to create a FreeStyleProject or similar.
createProjectFromXML(String, InputStream) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
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.JenkinsfileRunnerRule
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.
deleteView(View) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
description() - Method in class io.jenkins.jenkinsfile.runner.util.TestEnvironment
Current test case being run (works for JUnit 3 or 4).
DescriptorImpl() - Constructor for class io.jenkins.jenkinsfile.runner.util.MockFolder.DescriptorImpl
 
dispose() - Method in class io.jenkins.jenkinsfile.runner.util.TemporaryDirectoryAllocator
Deletes all allocated temporary directories.
dispose() - Method in class io.jenkins.jenkinsfile.runner.util.TestEnvironment
 
disposeAsync() - Method in class io.jenkins.jenkinsfile.runner.util.TemporaryDirectoryAllocator
Deletes all allocated temporary directories asynchronously.
doCreateItem(StaplerRequest, StaplerResponse) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 

E

env - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 

F

format(LogRecord) - Method in class io.jenkins.jenkinsfile.runner.util.SupportLogFormatter
 

G

get() - Static method in class io.jenkins.jenkinsfile.runner.util.TestEnvironment
 
getAllJobs() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getDescriptor() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getDisplayName() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
getDisplayName() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder.DescriptorImpl
 
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
 
getItem(String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getItemGroup() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getItems() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getJob(String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
Same as MockFolder.getItem(java.lang.String) but named this way as a WebMethod.
getPluginManager() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
getPrimaryView() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getRootDirFor(TopLevelItem) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getStaplerFallback() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getTestDescription() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
getURL() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Returns the URL of the webapp top page.
getUrlChildPrefix() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getUrlName() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
getView(String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getViewActions() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getViews() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
getViewsTabBar() - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
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

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
 
JenkinsfileRunnerRule - Class in io.jenkins.jenkinsfile.runner
Set up of Jenkins environment for executing a single Jenkinsfile.
JenkinsfileRunnerRule(File, File) - Constructor for class io.jenkins.jenkinsfile.runner.JenkinsfileRunnerRule
 
JenkinsRecipe - Annotation Type in io.jenkins.jenkinsfile.runner.util
Meta-annotation for recipe annotations, which controls the test environment set up.
JenkinsRecipe.Runner<T extends Annotation> - Class in io.jenkins.jenkinsfile.runner.util
The code that implements the recipe semantics.

L

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
 
MockFolder - Class in io.jenkins.jenkinsfile.runner.util
Minimal implementation of a modifiable item group akin to the Folders plugin.
MockFolder(ItemGroup, String) - Constructor for class io.jenkins.jenkinsfile.runner.util.MockFolder
 
MockFolder.DescriptorImpl - Class in io.jenkins.jenkinsfile.runner.util
 

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.
newInstance(ItemGroup, String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder.DescriptorImpl
 
NO_PROPERTIES - Static variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 

O

onCopiedFrom(Item) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
onDeleted(TopLevelItem) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
onLoad(ItemGroup<? extends Item>, String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
onRenamed(TopLevelItem, String, String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
onViewRenamed(View, String, String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 

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.TestEnvironment
 
printStackTrace(Throwable, PrintWriter) - Static method in class io.jenkins.jenkinsfile.runner.util.SupportLogFormatter
 
printStackTrace(Throwable, PrintStream) - Static method in class io.jenkins.jenkinsfile.runner.util.SupportLogFormatter
 
printThrowable(Throwable) - Static method in class io.jenkins.jenkinsfile.runner.util.SupportLogFormatter
 

R

recipe() - Method in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Called during the JenkinsEmbedder.before() to give a test case an opportunity to control the test environment in which Hudson is run.
recipes - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
remove(TopLevelItem) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
renameTo(String) - Method in class io.jenkins.jenkinsfile.runner.util.MockFolder
 
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 during TestCase.setUp() to prepare the test environment.
SupportLogFormatter - Class in io.jenkins.jenkinsfile.runner.util
Format log files in a nicer format that is easier to read and search.
SupportLogFormatter() - Constructor for class io.jenkins.jenkinsfile.runner.util.SupportLogFormatter
 

T

tearDown(JenkinsEmbedder, T) - Method in class io.jenkins.jenkinsfile.runner.util.JenkinsRecipe.Runner
Called during TestCase.tearDown() to shut down the test environment.
tearDowns - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Runnables to be invoked at JenkinsEmbedder.after() .
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
 
temporaryDirectoryAllocator - Variable in class io.jenkins.jenkinsfile.runner.util.TestEnvironment
 
testDescription - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
 
TestEnvironment - Class in io.jenkins.jenkinsfile.runner.util
 
TestEnvironment(Description) - Constructor for class io.jenkins.jenkinsfile.runner.util.TestEnvironment
 
timeout - Variable in class io.jenkins.jenkinsfile.runner.JenkinsEmbedder
Number of seconds until the test times out.
toString() - Method in class io.jenkins.jenkinsfile.runner.util.TestEnvironment
 

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 F G H I J L M N O P R S T W 
Skip navigation links

Copyright © 2004–2018. All rights reserved.