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.diagnosis | |
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.tasks | |
hudson.triggers |
Built-in Triggers that run periodically to kick a new build.
|
hudson.util |
Other miscellaneous utility code
|
jenkins.model | |
jenkins.model.lazy | |
jenkins.tasks | |
jenkins.triggers | |
jenkins.widgets |
Constructor and Description |
---|
RunUrl(Run run,
String head,
String base,
String rest) |
Modifier and Type | Method and Description |
---|---|
protected Run |
CommandDuringBuild.getCurrentlyBuilding()
This method makes sense only when called from within the build kicked by Jenkins.
|
protected Run |
CommandDuringBuild.optCurrentlyBuilding()
If the command is currently running inside a build, return it.
|
Modifier and Type | Method and Description |
---|---|
static String |
ModelHyperlinkNote.encodeTo(Run r) |
Modifier and Type | Field and Description |
---|---|
static RunListener<Run> |
OldDataMonitor.runDeleteListener |
Modifier and Type | Class and Description |
---|---|
class |
Job<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>>
A job is an runnable entity under the monitoring of Hudson.
|
class |
Run<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>>
A particular execution of
Job . |
class |
RunMap<R extends Run<?,R>>
|
static interface |
RunMap.Constructor<R extends Run<?,R>>
Run factory. |
class |
ViewJob<JobT extends ViewJob<JobT,RunT>,RunT extends Run<JobT,RunT>>
Job that monitors activities that happen outside Hudson,
which requires occasional batch reload activity to obtain the up-to-date information. |
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 |
Build<P extends Project<P,B>,B extends Build<P,B>>
A build of a
Project . |
class |
FreeStyleBuild |
Modifier and Type | Field and Description |
---|---|
protected RunT |
Run.nextBuild
Next build.
|
protected RunT |
Run.previousBuild
Previous build.
|
Modifier and Type | Field and Description |
---|---|
static FeedAdapter<Run> |
Run.FEED_ADAPTER
FeedAdapter to produce feed from the summary of this build. |
static FeedAdapter<Run> |
Run.FEED_ADAPTER_LATEST
FeedAdapter to produce feeds to show one build per project. |
static HistoryWidget.Adapter<Run> |
Job.HISTORY_ADAPTER |
static Comparator<Run> |
Run.ORDER_BY_DATE
Sort by date.
|
Modifier and Type | Method and Description |
---|---|
static Run<?,?> |
Run.fromExternalizableId(String id)
Tries to find a run from an persisted identifier.
|
Run<?,?> |
BuildTimelineWidget.getFirstBuild()
Deprecated.
|
Run<?,?> |
BuildTimelineWidget.getLastBuild()
Deprecated.
|
Run |
RunParameterValue.getRun()
Can be null if the
Run that this was pointing to no longer exists. |
Run |
Fingerprint.BuildPtr.getRun()
Gets the
Job that this pointer points to,
or null if such a job no longer exists. |
Run<?,?> |
Cause.UpstreamCause.getUpstreamRun() |
Run |
RunParameterValue.getValue() |
abstract Run<?,?> |
PermalinkProjectAction.Permalink.resolve(Job<?,?> job)
Resolves the permalink to a build.
|
Modifier and Type | Method and Description |
---|---|
void |
Fingerprint.addFor(Run b) |
void |
RunParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Exposes the name/value as an environment variable.
|
void |
BooleanParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Exposes the name/value as an environment variable.
|
void |
StringParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Exposes the name/value as an environment variable.
|
void |
ParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Adds environmental variables for the builds to the given map.
|
void |
FileParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Exposes the originalFileName as an environment variable.
|
void |
JobParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env)
Exposes the name/value as an environment variable.
|
void |
PasswordParameterValue.buildEnvironment(Run<?,?> build,
EnvVars env) |
void |
EnvironmentContributor.buildEnvironmentFor(Run r,
EnvVars envs,
TaskListener listener)
Contributes environment variables used for a build.
|
Collection<? extends Action> |
TransientBuildActionFactory.createFor(Run target)
Deprecated.
Creates actions for the given build.
|
Fingerprint |
FingerprintMap.getOrCreate(Run build,
String fileName,
String md5sum) |
static ResultTrend |
ResultTrend.getResultTrend(Run<?,?> run)
Returns the result trend of a run.
|
boolean |
Fingerprint.BuildPtr.is(Run r)
Returns true if
Fingerprint.BuildPtr points to the given run. |
void |
Cause.onAddedTo(Run build)
Called when the cause is registered.
|
void |
RunAction.onAttached(Run r)
Deprecated.
Called when the action is aded to the
Run object. |
void |
CauseAction.onAttached(Run<?,?> owner)
When hooked up to build, notify
Cause s. |
void |
CauseAction.onLoad(Run<?,?> owner) |
void |
Cause.onLoad(Run<?,?> build)
Called when a build is loaded from disk.
|
boolean |
Cause.UpstreamCause.pointsTo(Run<?,?> r)
Returns true if this cause points to the specified build.
|
void |
Executor.recordCauseOfInterruption(Run<?,?> build,
TaskListener listener)
report cause of interruption and record it to the build, if available.
|
abstract Run.Summary |
Run.StatusSummarizer.summarize(Run<?,?> run,
ResultTrend trend)
Possibly summarizes the reasons for a build’s status.
|
Constructor and Description |
---|
BuildPtr(Run run) |
Fingerprint(Run build,
String fileName,
byte[] md5sum) |
UpstreamCause(Run<?,?> up) |
Modifier and Type | Class and Description |
---|---|
class |
RunListener<R extends Run>
Receives notifications about builds.
|
Modifier and Type | Method and Description |
---|---|
static void |
RunListener.fireCompleted(Run r,
TaskListener listener)
Fires the
RunListener.onCompleted(Run, TaskListener) event. |
static void |
RunListener.fireDeleted(Run r)
Fires the
RunListener.onDeleted(R) event. |
static void |
RunListener.fireFinalized(Run r)
Fires the
RunListener.onFinalized(Run) event. |
static void |
RunListener.fireStarted(Run r,
TaskListener listener)
Fires the
RunListener.onStarted(Run, TaskListener) event. |
void |
SCMListener.onChangeLogParsed(Run<?,?> build,
SCM scm,
TaskListener listener,
ChangeLogSet<?> changelog)
Called once the changelog is determined.
|
void |
SCMListener.onCheckout(Run<?,?> build,
SCM scm,
FilePath workspace,
TaskListener listener,
File changelogFile,
SCMRevisionState pollingBaseline)
Should be called immediately after
SCM#checkout(Run, Launcher, FilePath, TaskListener, File) is called. |
Modifier and Type | Method and Description |
---|---|
Run<?,?> |
AbstractScmTagAction.getRun() |
Run<?,?> |
ChangeLogSet.getRun() |
Modifier and Type | Method and Description |
---|---|
void |
ChangeLogAnnotator.annotate(Run<?,?> build,
ChangeLogSet.Entry change,
MarkupText text)
Called by Hudson to allow markups to be added to the changelog text.
|
SCMRevisionState |
SCM.calcRevisionsFromBuild(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener)
Calculates the
SCMRevisionState that represents the state of the workspace of the given build. |
SCMRevisionState |
NullSCM.calcRevisionsFromBuild(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
void |
SCM.checkout(Run<?,?> build,
Launcher launcher,
FilePath workspace,
TaskListener listener,
File changelogFile,
SCMRevisionState baseline)
Obtains a fresh workspace of the module(s) into the specified directory
of the specified machine.
|
void |
NullSCM.checkout(Run<?,?> build,
Launcher launcher,
FilePath workspace,
TaskListener listener,
File changelogFile,
SCMRevisionState baseline) |
static ChangeLogSet<? extends ChangeLogSet.Entry> |
ChangeLogSet.createEmpty(Run build)
Constant instance that represents no changes.
|
void |
AbstractScmTagAction.onAttached(Run<?,?> r) |
void |
AbstractScmTagAction.onLoad(Run<?,?> r) |
ChangeLogSet<? extends ChangeLogSet.Entry> |
ChangeLogParser.parse(Run build,
RepositoryBrowser<?> browser,
File changelogFile) |
ChangeLogSet<? extends ChangeLogSet.Entry> |
NullChangeLogParser.parse(Run build,
RepositoryBrowser<?> browser,
File changelogFile) |
void |
SCM.postCheckout(Run<?,?> build,
Launcher launcher,
FilePath workspace,
TaskListener listener)
Get a chance to do operations after the workspace i checked out and the changelog is written.
|
Constructor and Description |
---|
AbstractScmTagAction(Run<?,?> run) |
ChangeLogSet(Run<?,?> run,
RepositoryBrowser<?> browser) |
Modifier and Type | Method and Description |
---|---|
Run |
Fingerprinter.FingerprintAction.getRun() |
Modifier and Type | Method and Description |
---|---|
void |
Fingerprinter.FingerprintAction.onAttached(Run<?,?> r) |
void |
Fingerprinter.FingerprintAction.onLoad(Run<?,?> r) |
void |
Fingerprinter.perform(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
void |
ArtifactArchiver.perform(Run<?,?> build,
FilePath ws,
Launcher launcher,
TaskListener listener) |
Constructor and Description |
---|
FingerprintAction(Run build,
Map<String,String> record) |
Modifier and Type | Method and Description |
---|---|
Run<?,?> |
SCMTrigger.BuildAction.getRun() |
Run |
SCMTrigger.SCMTriggerCause.getRun() |
Modifier and Type | Method and Description |
---|---|
void |
SCMTrigger.SCMTriggerCause.onAddedTo(Run build) |
void |
SCMTrigger.BuildAction.onAttached(Run<?,?> r) |
void |
SCMTrigger.SCMTriggerCause.onLoad(Run run) |
void |
SCMTrigger.BuildAction.onLoad(Run<?,?> r) |
Constructor and Description |
---|
BuildAction(Run<?,?> run) |
Modifier and Type | Class and Description |
---|---|
class |
RunList<R extends Run>
|
Modifier and Type | Method and Description |
---|---|
static <R extends Run> |
RunList.fromRuns(Collection<? extends R> runs) |
Modifier and Type | Method and Description |
---|---|
Run<?,?> |
ChartUtil.NumberOnlyBuildLabel.getRun() |
Constructor and Description |
---|
NumberOnlyBuildLabel(Run<?,?> run) |
Modifier and Type | Class and Description |
---|---|
class |
ParameterizedJobMixIn<JobT extends Job<JobT,RunT> & ParameterizedJobMixIn.ParameterizedJob & Queue.Task,RunT extends Run<JobT,RunT> & Queue.Executable>
Allows a
Job to make use of ParametersDefinitionProperty and be scheduled in various ways. |
Modifier and Type | Field and Description |
---|---|
protected Run<?,?> |
StandardArtifactManager.build |
Modifier and Type | Method and Description |
---|---|
Run<?,?> |
PeepholePermalink.resolve(Job<?,?> job)
Resolves the permalink by using the cache if possible.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
PeepholePermalink.apply(Run<?,?> run)
Checks if the given build satisfies the peep-hole criteria.
|
void |
CoreEnvironmentContributor.buildEnvironmentFor(Run r,
EnvVars env,
TaskListener listener) |
abstract ArtifactManager |
ArtifactManagerFactory.managerFor(Run<?,?> build)
Optionally creates a manager for a particular build.
|
void |
RunAction2.onAttached(Run<?,?> r)
Called when this action is added to a build.
|
void |
PeepholePermalink.RunListenerImpl.onCompleted(Run<?,?> run,
TaskListener listener)
See if the new build matches any of the peephole permalink.
|
void |
PeepholePermalink.RunListenerImpl.onDeleted(Run run)
If any of the peephole permalink points to the build to be deleted, update it to point to the new location.
|
void |
RunAction2.onLoad(Run<?,?> r)
Called after a build is loaded to which this action was previously attached.
|
void |
StandardArtifactManager.onLoad(Run<?,?> build) |
abstract void |
ArtifactManager.onLoad(Run<?,?> build)
Called when this manager is loaded from disk.
|
protected void |
PeepholePermalink.updateCache(Job<?,?> job,
Run<?,?> b)
Remembers the value 'n' in the cache for future
PeepholePermalink.resolve(Job) . |
Constructor and Description |
---|
StandardArtifactManager(Run<?,?> build) |
Modifier and Type | Class and Description |
---|---|
class |
LazyBuildMixIn<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT,RunT>,RunT extends Run<JobT,RunT> & LazyBuildMixIn.LazyLoadingRun<JobT,RunT>>
|
static interface |
LazyBuildMixIn.LazyLoadingJob<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT,RunT>,RunT extends Run<JobT,RunT> & LazyBuildMixIn.LazyLoadingRun<JobT,RunT>>
Marker for a
Job which uses this mixin. |
static interface |
LazyBuildMixIn.LazyLoadingRun<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT,RunT>,RunT extends Run<JobT,RunT> & LazyBuildMixIn.LazyLoadingRun<JobT,RunT>> |
static class |
LazyBuildMixIn.RunMixIn<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT,RunT>,RunT extends Run<JobT,RunT> & LazyBuildMixIn.LazyLoadingRun<JobT,RunT>>
Accompanying helper for the run type.
|
Modifier and Type | Method and Description |
---|---|
ConsoleLogFilter |
SimpleBuildWrapper.createLoggerDecorator(Run<?,?> build)
Allows this wrapper to decorate log output.
|
void |
SimpleBuildStep.perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener listener)
Run this step.
|
abstract void |
SimpleBuildWrapper.setUp(SimpleBuildWrapper.Context context,
Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener,
EnvVars initialEnvironment)
Called when a segment of a build is started that is to be enhanced with this wrapper.
|
abstract void |
SimpleBuildWrapper.Disposer.tearDown(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener)
Attempt to clean up anything that was done in the initial setup.
|
Modifier and Type | Method and Description |
---|---|
void |
ReverseBuildTrigger.RunListenerImpl.onCompleted(Run r,
TaskListener listener) |
Modifier and Type | Method and Description |
---|---|
protected void |
BuildListTable.calculate(Run<?,?> build,
net.sf.json.JSONObject element) |
protected void |
BuildTimeTrend.calculate(Run<?,?> build,
net.sf.json.JSONObject element) |
protected abstract void |
RunListProgressiveRendering.calculate(Run<?,?> build,
net.sf.json.JSONObject element) |
Modifier and Type | Method and Description |
---|---|
void |
RunListProgressiveRendering.setBuilds(Iterable<? extends Run<?,?>> builds)
Jelly cannot call a constructor with arguments.
|
Copyright © 2015. All rights reserved.