Package | Description |
---|---|
hudson | |
hudson.cli |
Server-side CLI commands for Hudson.
|
hudson.console |
Beef up the plain text console output by adding HTML markup.
|
hudson.fsp | |
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.model.listeners |
Listener interfaces for various events that occur inside the server.
|
hudson.scm |
Hudson's interface with source code management systems.
|
hudson.slaves |
Code related to slaves.
|
hudson.tasks | |
hudson.tools | |
hudson.triggers |
Built-in Triggers that run periodically to kick a new build.
|
hudson.util |
Other miscellaneous utility code
|
jenkins.mvn | |
jenkins.scm | |
jenkins.tasks |
Modifier and Type | Method and Description |
---|---|
abstract void |
FileSystemProvisioner.prepareWorkspace(AbstractBuild<?,?> build,
FilePath ws,
TaskListener listener)
Called very early in the build (before a build places any files
in the workspace, such as SCM checkout) to provision a workspace
for the build.
|
void |
FileSystemProvisioner.Default.prepareWorkspace(AbstractBuild<?,?> build,
FilePath ws,
TaskListener listener) |
abstract void |
WorkspaceSnapshot.restoreTo(AbstractBuild<?,?> owner,
FilePath dst,
TaskListener listener)
Restores the snapshot to the given file system location.
|
void |
FileSystemProvisioner.Default.WorkspaceSnapshotImpl.restoreTo(AbstractBuild<?,?> owner,
FilePath dst,
TaskListener listener) |
abstract WorkspaceSnapshot |
FileSystemProvisioner.snapshot(AbstractBuild<?,?> build,
FilePath ws,
String glob,
TaskListener listener)
Obtains the snapshot of the workspace of the given build.
|
WorkspaceSnapshot |
FileSystemProvisioner.Default.snapshot(AbstractBuild<?,?> build,
FilePath ws,
String glob,
TaskListener listener)
Creates a tar ball.
|
WorkspaceSnapshot |
FileSystemProvisioner.Default.snapshot(AbstractBuild<?,?> build,
FilePath ws,
TaskListener listener)
Deprecated.
as of 1.350
|
Modifier and Type | Method and Description |
---|---|
protected int |
ListChangesCommand.act(List<AbstractBuild<?,?>> builds) |
protected abstract int |
AbstractBuildRangeCommand.act(List<AbstractBuild<?,?>> builds) |
protected int |
DeleteBuildsCommand.act(List<AbstractBuild<?,?>> builds) |
Modifier and Type | Method and Description |
---|---|
OutputStream |
ConsoleLogFilter.decorateLogger(AbstractBuild build,
OutputStream logger)
Deprecated.
as of 1.632. Use
ConsoleLogFilter.decorateLogger(Run, OutputStream) |
Modifier and Type | Method and Description |
---|---|
SCMRevisionState |
WorkspaceSnapshotSCM.calcRevisionsFromBuild(AbstractBuild<?,?> build,
Launcher launcher,
TaskListener listener) |
boolean |
WorkspaceSnapshotSCM.checkout(AbstractBuild build,
Launcher launcher,
FilePath workspace,
BuildListener listener,
File changelogFile) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBuild<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
Base implementation of
Run s that build software. |
class |
AbstractProject<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
Base implementation of
Job s that build software. |
Modifier and Type | Class and Description |
---|---|
class |
Build<P extends Project<P,B>,B extends Build<P,B>>
A build of a
Project . |
class |
FreeStyleBuild |
Modifier and Type | Field and Description |
---|---|
AbstractBuild |
AbstractBuild.DependencyChange.from
Build object for AbstractBuild.DependencyChange.fromId . |
AbstractBuild |
AbstractBuild.DependencyChange.to |
Modifier and Type | Method and Description |
---|---|
AbstractBuild<?,?> |
AbstractBuild.getRootBuild()
Gets the nearest ancestor
AbstractBuild that belongs to
the root project of getProject() that
dominates/governs/encompasses this build. |
AbstractBuild<?,?> |
AbstractBuild.getUpstreamRelationshipBuild(AbstractProject<?,?> that)
Works like
getUpstreamRelationship(AbstractProject) but returns the
actual build object. |
Modifier and Type | Method and Description |
---|---|
List<AbstractBuild> |
AbstractBuild.DependencyChange.getBuilds()
Gets the
AbstractBuild objects (fromId,toId]. |
Iterable<AbstractBuild<?,?>> |
AbstractBuild.getDownstreamBuilds(AbstractProject<?,?> that)
Works like
getDownstreamRelationship(AbstractProject) but returns
the actual build objects, in ascending order. |
Modifier and Type | Method and Description |
---|---|
void |
Fingerprint.add(AbstractBuild b)
Deprecated.
|
void |
WorkspaceListener.beforeUse(AbstractBuild b,
FilePath workspace,
BuildListener listener)
Called before a build uses a workspace.
|
void |
EnvironmentContributingAction.buildEnvVars(AbstractBuild<?,?> build,
EnvVars env)
Called by
AbstractBuild to allow plugins to contribute environment variables. |
void |
ParametersAction.buildEnvVars(AbstractBuild<?,?> build,
EnvVars env) |
void |
ParameterValue.buildEnvVars(AbstractBuild<?,?> build,
EnvVars env)
Deprecated.
Use
ParameterValue.buildEnvironment(Run, EnvVars) instead. |
void |
ParameterValue.buildEnvVars(AbstractBuild<?,?> build,
Map<String,String> env)
Deprecated.
as of 1.344
Use
ParameterValue.buildEnvironment(Run, EnvVars) instead. |
abstract void |
BuildVariableContributor.buildVariablesFor(AbstractBuild build,
Map<String,String> variables)
Contributes build variables used for a build.
|
boolean |
AbstractProject.checkout(AbstractBuild build,
Launcher launcher,
BuildListener listener,
File changelogFile) |
BuildWrapper |
FileParameterValue.createBuildWrapper(AbstractBuild<?,?> build) |
BuildWrapper |
ParameterValue.createBuildWrapper(AbstractBuild<?,?> build)
Called at the beginning of a build (but after
SCM operations
have taken place) to let a ParameterValue contributes a
BuildWrapper to the build. |
void |
ParametersAction.createBuildWrappers(AbstractBuild<?,?> build,
Collection<? super BuildWrapper> result) |
Collection<? extends Action> |
TransientBuildActionFactory.createFor(AbstractBuild target)
Deprecated.
as of 1.461
Override and call
TransientBuildActionFactory.createFor(Run) instead. |
VariableResolver<String> |
FileParameterValue.createVariableResolver(AbstractBuild<?,?> build) |
VariableResolver<String> |
ParametersAction.createVariableResolver(AbstractBuild<?,?> build)
Creates an
VariableResolver that aggregates all the parameters. |
VariableResolver<String> |
BooleanParameterValue.createVariableResolver(AbstractBuild<?,?> build) |
VariableResolver<String> |
PasswordParameterValue.createVariableResolver(AbstractBuild<?,?> build) |
VariableResolver<String> |
ParameterValue.createVariableResolver(AbstractBuild<?,?> build)
Returns a
VariableResolver so that other components like Builder s
can perform variable substitution to reflect parameter values into the build process. |
VariableResolver<String> |
StringParameterValue.createVariableResolver(AbstractBuild<?,?> build) |
abstract void |
BuildStepListener.finished(AbstractBuild build,
BuildStep bs,
BuildListener listener,
boolean canContinue)
Called when a buildStep has completed.
|
Map<AbstractProject,AbstractBuild.DependencyChange> |
AbstractBuild.getDependencyChanges(AbstractBuild from)
Gets the changes in the dependency between the given build and this build.
|
Fingerprint |
FingerprintMap.getOrCreate(AbstractBuild build,
String fileName,
byte[] md5sum) |
Fingerprint |
FingerprintMap.getOrCreate(AbstractBuild build,
String fileName,
String md5sum) |
static ResultTrend |
ResultTrend.getResultTrend(AbstractBuild<?,?> build)
Returns the result trend of a build.
|
void |
Cause.onAddedTo(AbstractBuild build)
Deprecated.
|
void |
Cause.onLoad(AbstractBuild<?,?> build)
Deprecated.
|
boolean |
JobProperty.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
Runs the step over the given build and reports the progress to the listener.
|
boolean |
JobProperty.prebuild(AbstractBuild<?,?> build,
BuildListener listener) |
boolean |
DependencyGraph.Dependency.shouldTriggerBuild(AbstractBuild build,
TaskListener listener,
List<Action> actions)
Decide whether build should be triggered and provide any Actions for the build.
|
abstract void |
BuildStepListener.started(AbstractBuild build,
BuildStep bs,
BuildListener listener)
Called when a buildStep is performed.
|
String |
ParametersAction.substitute(AbstractBuild<?,?> build,
String text)
Performs a variable substitution to the given text and return it.
|
boolean |
Environment.tearDown(AbstractBuild build,
BuildListener listener)
Runs after the
Builder completes, and performs a tear down. |
Constructor and Description |
---|
BecauseOfBuildInProgress(AbstractBuild<?,?> build)
Deprecated.
|
UpstreamCause(AbstractBuild<?,?> up)
Deprecated.
since 2009-02-28
|
Modifier and Type | Method and Description |
---|---|
void |
SCMListener.onChangeLogParsed(AbstractBuild<?,?> build,
BuildListener listener,
ChangeLogSet<?> changelog)
Deprecated.
|
Environment |
RunListener.setUpEnvironment(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Runs before the
SCM.checkout(AbstractBuild, Launcher, FilePath, BuildListener, File) runs, and performs a set up. |
Modifier and Type | Field and Description |
---|---|
AbstractBuild<?,?> |
ChangeLogSet.build
Deprecated.
|
protected AbstractBuild |
AbstractScmTagAction.build
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
AbstractBuild |
AbstractScmTagAction.getBuild()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SCMRevisionState |
SCM._calcRevisionsFromBuild(AbstractBuild<?,?> build,
Launcher launcher,
TaskListener listener)
Deprecated.
|
void |
ChangeLogAnnotator.annotate(AbstractBuild<?,?> build,
ChangeLogSet.Entry change,
MarkupText text)
Deprecated.
|
void |
SCM.buildEnvVars(AbstractBuild<?,?> build,
Map<String,String> env)
Adds environmental variables for the builds to the given map.
|
SCMRevisionState |
SCM.calcRevisionsFromBuild(AbstractBuild<?,?> build,
Launcher launcher,
TaskListener listener)
Deprecated.
|
boolean |
SCM.checkout(AbstractBuild<?,?> build,
Launcher launcher,
FilePath workspace,
BuildListener listener,
File changelogFile)
Deprecated.
|
static ChangeLogSet<? extends ChangeLogSet.Entry> |
ChangeLogSet.createEmpty(AbstractBuild build)
Deprecated.
|
FilePath |
SCM.getModuleRoot(FilePath workspace,
AbstractBuild build)
Gets the top directory of the checked out module.
|
FilePath[] |
SCM.getModuleRoots(FilePath workspace,
AbstractBuild build)
Gets the top directories of all the checked out modules.
|
ChangeLogSet<? extends ChangeLogSet.Entry> |
ChangeLogParser.parse(AbstractBuild build,
File changelogFile)
Deprecated.
|
void |
SCM.postCheckout(AbstractBuild<?,?> build,
Launcher launcher,
FilePath workspace,
BuildListener listener)
Deprecated.
|
Constructor and Description |
---|
AbstractScmTagAction(AbstractBuild build)
Deprecated.
|
ChangeLogSet(AbstractBuild<?,?> build)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Environment |
EnvironmentVariablesNodeProperty.setUp(AbstractBuild build,
Launcher launcher,
BuildListener listener) |
Environment |
NodeProperty.setUp(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Runs before the
SCM.checkout(AbstractBuild, Launcher, FilePath, BuildListener, File) runs, and performs a set up. |
Modifier and Type | Method and Description |
---|---|
AbstractBuild |
Fingerprinter.FingerprintAction.getBuild()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Launcher |
BuildWrapper.decorateLauncher(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Provides an opportunity for a
BuildWrapper to decorate a Launcher to be used in the build. |
OutputStream |
BuildWrapper.decorateLogger(AbstractBuild build,
OutputStream logger)
Provides an opportunity for a
BuildWrapper to decorate the BuildListener logger to be used by the build. |
static boolean |
BuildTrigger.execute(AbstractBuild build,
BuildListener listener)
Convenience method to trigger downstream builds.
|
static boolean |
BuildTrigger.execute(AbstractBuild build,
BuildListener listener,
BuildTrigger trigger)
Deprecated.
since 1.341; use
BuildTrigger.execute(AbstractBuild,BuildListener) |
void |
BuildWrapper.makeBuildVariables(AbstractBuild build,
Map<String,String> variables)
Called to define getBuildVariables().
|
void |
BuildWrapper.makeSensitiveBuildVariables(AbstractBuild build,
Set<String> sensitiveVariables)
Called to define sensitive build variables.
|
boolean |
CommandInterpreter.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
boolean |
Maven.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
boolean |
BuildStepCompatibilityLayer.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
Deprecated.
Runs the step over the given build and reports the progress to the listener.
|
boolean |
BuildStep.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
Runs the step over the given build and reports the progress to the listener.
|
boolean |
CommandInterpreter.perform(AbstractBuild<?,?> build,
Launcher launcher,
TaskListener listener) |
boolean |
BuildTrigger.perform(AbstractBuild build,
Launcher launcher,
BuildListener listener) |
abstract boolean |
BuildStepMonitor.perform(BuildStep bs,
AbstractBuild build,
Launcher launcher,
BuildListener listener)
Calls
BuildStep.perform(AbstractBuild, Launcher, BuildListener) with the proper synchronization. |
boolean |
BuildStepCompatibilityLayer.prebuild(AbstractBuild<?,?> build,
BuildListener listener)
Deprecated.
|
boolean |
BuildStep.prebuild(AbstractBuild<?,?> build,
BuildListener listener)
Runs before the build begins.
|
void |
BuildWrapper.preCheckout(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Provides an opportunity for a
BuildWrapper to perform some actions before SCM checkout. |
BuildWrapper.Environment |
BuildWrapper.setUp(AbstractBuild build,
Launcher launcher,
BuildListener listener)
Runs before the
Builder runs (but after the checkout has occurred), and performs a set up. |
boolean |
BuildWrapper.Environment.tearDown(AbstractBuild build,
BuildListener listener)
Runs after the
Builder completes, and performs a tear down. |
protected void |
Maven.wrapUpArguments(ArgumentListBuilder args,
String normalizedTarget,
AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
Allows the derived type to make additional modifications to the arguments list.
|
Constructor and Description |
---|
FingerprintAction(AbstractBuild build,
Map<String,String> record)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ToolInstallation |
ToolInstallation.translate(AbstractBuild<?,?> buildInProgress,
TaskListener listener)
Convenient version of
ToolInstallation.translate(Node, EnvVars, TaskListener) that just takes a build object in progress. |
Modifier and Type | Field and Description |
---|---|
AbstractBuild |
SCMTrigger.BuildAction.build
Deprecated.
|
Constructor and Description |
---|
BuildAction(AbstractBuild build)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
AbstractBuild |
ChartUtil.NumberOnlyBuildLabel.build
Deprecated.
|
Constructor and Description |
---|
NumberOnlyBuildLabel(AbstractBuild build)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static FilePath |
GlobalSettingsProvider.getSettingsFilePath(GlobalSettingsProvider settings,
AbstractBuild<?,?> build,
TaskListener listener)
Convenience method handling all
null checks. |
static FilePath |
SettingsProvider.getSettingsFilePath(SettingsProvider settings,
AbstractBuild<?,?> build,
TaskListener listener)
Convenience method handling all
null checks. |
static String |
GlobalSettingsProvider.getSettingsRemotePath(GlobalSettingsProvider provider,
AbstractBuild<?,?> build,
TaskListener listener)
Convenience method handling all
null checks. |
static String |
SettingsProvider.getSettingsRemotePath(SettingsProvider settings,
AbstractBuild<?,?> build,
TaskListener listener)
Convenience method handling all
null checks. |
FilePath |
DefaultSettingsProvider.supplySettings(AbstractBuild<?,?> project,
TaskListener listener) |
FilePath |
FilePathSettingsProvider.supplySettings(AbstractBuild<?,?> build,
TaskListener listener) |
FilePath |
FilePathGlobalSettingsProvider.supplySettings(AbstractBuild<?,?> build,
TaskListener listener) |
FilePath |
DefaultGlobalSettingsProvider.supplySettings(AbstractBuild<?,?> project,
TaskListener listener) |
abstract FilePath |
SettingsProvider.supplySettings(AbstractBuild<?,?> build,
TaskListener listener)
Configure maven launcher argument list with adequate settings path.
|
abstract FilePath |
GlobalSettingsProvider.supplySettings(AbstractBuild<?,?> build,
TaskListener listener)
configure maven launcher argument list with adequate settings path
|
Modifier and Type | Method and Description |
---|---|
void |
SCMCheckoutStrategy.preCheckout(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
Performs the pre checkout step.
|
Modifier and Type | Method and Description |
---|---|
Launcher |
SimpleBuildWrapper.decorateLauncher(AbstractBuild build,
Launcher launcher,
BuildListener listener)
May be overridden but this will only take effect when used as a
BuildWrapper on an AbstractProject . |
OutputStream |
SimpleBuildWrapper.decorateLogger(AbstractBuild build,
OutputStream logger) |
void |
SimpleBuildWrapper.makeBuildVariables(AbstractBuild build,
Map<String,String> variables)
May be overridden but this will only take effect when used as a
BuildWrapper on an AbstractProject . |
void |
SimpleBuildWrapper.makeSensitiveBuildVariables(AbstractBuild build,
Set<String> sensitiveVariables)
May be overridden but this will only take effect when used as a
BuildWrapper on an AbstractProject . |
void |
SimpleBuildWrapper.preCheckout(AbstractBuild build,
Launcher launcher,
BuildListener listener) |
BuildWrapper.Environment |
SimpleBuildWrapper.setUp(AbstractBuild build,
Launcher launcher,
BuildListener listener) |
Copyright © 2018. All rights reserved.