Uses of Class
hudson.model.Run
-
Packages that use Run 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 atJenkins
.hudson.model.listeners Listener interfaces for various events that occur inside the server.hudson.scm Jenkins's interface with source code management systems.hudson.tasks hudson.triggers Built-inTrigger
s that run periodically to kick a new build.hudson.util Other miscellaneous utility codejenkins.model jenkins.model.lazy jenkins.scm jenkins.tasks jenkins.tasks.filters jenkins.triggers jenkins.widgets -
-
Uses of Run in hudson
Methods in hudson with parameters of type Run Modifier and Type Method Description void
Launcher. prepareFilterRules(Run<?,?> run, EnvVarsFilterableBuilder builder)
Build the environment filter rules that will be applied on the environment variablesConstructors in hudson with parameters of type Run Constructor Description RunUrl(Run run, String head, String base, String rest)
-
Uses of Run in hudson.cli
Method parameters in hudson.cli with type arguments of type Run Modifier and Type Method Description protected int
DeleteBuildsCommand. act(List<Run<?,?>> builds)
protected int
ListChangesCommand. act(List<Run<?,?>> builds)
protected abstract int
RunRangeCommand. act(List<Run<?,?>> builds)
-
Uses of Run in hudson.console
Methods in hudson.console with parameters of type Run Modifier and Type Method Description OutputStream
ConsoleLogFilter. decorateLogger(Run build, OutputStream logger)
Called on the start of each build, giving extensions a chance to intercept the data that is written to the log.static String
ModelHyperlinkNote. encodeTo(Run r)
-
Uses of Run in hudson.diagnosis
Fields in hudson.diagnosis with type parameters of type Run Modifier and Type Field Description static RunListener<Run>
OldDataMonitor. runDeleteListener
-
Uses of Run in hudson.model
Classes in hudson.model with type parameters of type Run Modifier and Type Class 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 ofJob
.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.Subclasses of Run in hudson.model Modifier and Type Class Description class
AbstractBuild<P extends AbstractProject<P,R>,R extends AbstractBuild<P,R>>
Base implementation ofRun
s that build software.class
Build<P extends Project<P,B>,B extends Build<P,B>>
A build of aProject
.class
FreeStyleBuild
Fields in hudson.model declared as Run Modifier and Type Field Description protected RunT
Run. nextBuild
Next build.protected RunT
Run. previousBuild
Previous build.Fields in hudson.model with type parameters of type Run Modifier and Type Field 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.Methods in hudson.model that return Run Modifier and Type Method 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
Fingerprint.BuildPtr. getRun()
Gets theJob
that this pointer points to, or null if such a job no longer exists.Run
RunParameterValue. getRun()
Can be null if theRun
that this was pointing to no longer exists.Run<?,?>
Cause.UpstreamCause. getUpstreamRun()
Run
RunParameterValue. getValue()
abstract Run<?,?>
PermalinkProjectAction.Permalink. resolve(Job<?,?> job)
Resolves the permalink to a build.Methods in hudson.model with parameters of type Run Modifier and Type Method Description void
Fingerprint. addFor(Run b)
Adds a usage reference to the build.void
BooleanParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)
Exposes the name/value as an environment variable.default void
EnvironmentContributingAction. buildEnvironment(Run<?,?> run, EnvVars env)
Called byRun
to allow plugins to contribute environment variables.void
FileParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)
Exposes the originalFileName as an environment variable.void
ParametersAction. buildEnvironment(Run<?,?> run, EnvVars env)
void
ParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)
Adds environmental variables for the builds to the given map.void
PasswordParameterValue. buildEnvironment(Run<?,?> build, EnvVars env)
void
RunParameterValue. 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
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 ifFingerprint.BuildPtr
points to the given run.void
Cause. onAddedTo(Run build)
Called when the cause is registered.void
CauseAction. onAttached(Run<?,?> owner)
When hooked up to build, notifyCause
s.void
ParametersAction. onAttached(Run<?,?> r)
void
RunAction. onAttached(Run r)
Deprecated.Called when the action is added to theRun
object.void
Cause. onLoad(Run<?,?> build)
Called when a build is loaded from disk.void
CauseAction. onLoad(Run<?,?> owner)
void
ParametersAction. onLoad(Run<?,?> r)
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.Method parameters in hudson.model with type arguments of type Run Modifier and Type Method Description static void
RSS. rss(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String title, String url, RunList runList, FeedAdapter<Run> feedAdapter)
Sends the RSS feed to the client using a specific feed adapter.Constructors in hudson.model with parameters of type Run Constructor Description BuildPtr(Run run)
Fingerprint(Run build, String fileName, byte[] md5sum)
UpstreamCause(Run<?,?> up)
-
Uses of Run in hudson.model.listeners
Classes in hudson.model.listeners with type parameters of type Run Modifier and Type Class Description class
RunListener<R extends Run>
Receives notifications about builds.Methods in hudson.model.listeners with parameters of type Run Modifier and Type Method Description static void
RunListener. fireCompleted(Run r, TaskListener listener)
Fires theRunListener.onCompleted(Run, TaskListener)
event.static void
RunListener. fireDeleted(Run r)
Fires theRunListener.onDeleted(R)
event.static void
RunListener. fireFinalized(Run r)
Fires theRunListener.onFinalized(Run)
event.static void
RunListener. fireInitialize(Run r)
Fires theRunListener.onInitialize(Run)
event.static void
RunListener. fireStarted(Run r, TaskListener listener)
Fires theRunListener.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 afterSCM.checkout(Run, Launcher, FilePath, TaskListener, File, SCMRevisionState)
is called. -
Uses of Run in hudson.scm
Methods in hudson.scm that return Run Modifier and Type Method Description Run<?,?>
AbstractScmTagAction. getRun()
Run<?,?>
ChangeLogSet. getRun()
Methods in hudson.scm with parameters of type Run Modifier and Type Method Description void
ChangeLogAnnotator. annotate(Run<?,?> build, ChangeLogSet.Entry change, MarkupText text)
Called by Hudson to allow markups to be added to the changelog text.void
SCM. buildEnvironment(Run<?,?> build, Map<String,String> env)
Adds environmental variables for the builds to the given map.SCMRevisionState
NullSCM. calcRevisionsFromBuild(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
SCMRevisionState
SCM. calcRevisionsFromBuild(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
Calculates theSCMRevisionState
that represents the state of the workspace of the given build.void
NullSCM. checkout(Run<?,?> build, Launcher launcher, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState baseline)
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.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.Constructors in hudson.scm with parameters of type Run Constructor Description AbstractScmTagAction(Run<?,?> run)
ChangeLogSet(Run<?,?> run, RepositoryBrowser<?> browser)
-
Uses of Run in hudson.tasks
Methods in hudson.tasks that return Run Modifier and Type Method Description Run
Fingerprinter.FingerprintAction. getRun()
Methods in hudson.tasks with parameters of type Run Modifier and Type Method Description void
Fingerprinter.FingerprintAction. onAttached(Run<?,?> r)
void
Fingerprinter.FingerprintAction. onLoad(Run<?,?> r)
void
ArtifactArchiver. perform(Run<?,?> build, FilePath ws, EnvVars environment, Launcher launcher, TaskListener listener)
void
Fingerprinter. perform(Run<?,?> build, FilePath workspace, EnvVars environment, Launcher launcher, TaskListener listener)
Constructors in hudson.tasks with parameters of type Run Constructor Description FingerprintAction(Run build, Map<String,String> record)
-
Uses of Run in hudson.triggers
Methods in hudson.triggers that return Run Modifier and Type Method Description Run<?,?>
SCMTrigger.BuildAction. getRun()
Run
SCMTrigger.SCMTriggerCause. getRun()
Methods in hudson.triggers with parameters of type Run Modifier and Type Method Description void
SCMTrigger.SCMTriggerCause. onAddedTo(Run build)
void
SCMTrigger.BuildAction. onAttached(Run<?,?> r)
void
SCMTrigger.BuildAction. onLoad(Run<?,?> r)
void
SCMTrigger.SCMTriggerCause. onLoad(Run run)
Constructors in hudson.triggers with parameters of type Run Constructor Description BuildAction(Run<?,?> run)
-
Uses of Run in hudson.util
Classes in hudson.util with type parameters of type Run Modifier and Type Class Description class
RunList<R extends Run>
Methods in hudson.util with type parameters of type Run Modifier and Type Method Description static <J extends Job<J,R>,R extends Run<J,R>>
RunList<R>RunList. fromJobs(Iterable<? extends J> jobs)
Creates a aRunList
combining all the runs of the supplied jobs.static <R extends Run>
RunList<R>RunList. fromRuns(Collection<? extends R> runs)
Methods in hudson.util that return Run Modifier and Type Method Description Run<?,?>
ChartUtil.NumberOnlyBuildLabel. getRun()
Constructors in hudson.util with parameters of type Run Constructor Description NumberOnlyBuildLabel(Run<?,?> run)
-
Uses of Run in jenkins.model
Classes in jenkins.model with type parameters of type Run Modifier and Type Class Description class
ParameterizedJobMixIn<JobT extends Job<JobT,RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT,RunT> & Queue.Task,RunT extends Run<JobT,RunT> & Queue.Executable>
Allows aJob
to make use ofParametersDefinitionProperty
and be scheduled in various ways.static interface
ParameterizedJobMixIn.ParameterizedJob<JobT extends Job<JobT,RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT,RunT> & Queue.Task,RunT extends Run<JobT,RunT> & Queue.Executable>
Marker for job using this mixin, and default implementations of many methods.Fields in jenkins.model declared as Run Modifier and Type Field Description protected Run<?,?>
StandardArtifactManager. build
Methods in jenkins.model that return Run Modifier and Type Method Description Run<?,?>
PeepholePermalink. resolve(Job<?,?> job)
Resolves the permalink by using the cache if possible.Methods in jenkins.model with parameters of type Run Modifier and Type Method Description void
GlobalBuildDiscarderStrategy. apply(Run<?,?> run)
Applies this build discarder strategy to the given run, i.e.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
GlobalBuildDiscarderListener. onFinalized(Run run)
abstract void
ArtifactManager. onLoad(Run<?,?> build)
Called when this manager is loaded from disk.void
RunAction2. onLoad(Run<?,?> r)
Called after a build is loaded to which this action was previously attached.void
StandardArtifactManager. onLoad(Run<?,?> build)
boolean
PeepholePermalink. test(Run<?,?> run)
protected void
PeepholePermalink. updateCache(Job<?,?> job, Run<?,?> b)
Remembers the value 'n' in the cache for futurePeepholePermalink.resolve(Job)
.Method parameters in jenkins.model with type arguments of type Run Modifier and Type Method Description void
GlobalBuildDiscarderStrategy. apply(Job<? extends Job,? extends Run> job)
Applies this build discarder strategy to the given job, i.e.Constructors in jenkins.model with parameters of type Run Constructor Description BlockedBecauseOfBuildInProgress(Run<?,?> build)
Creates a cause for the specified build.StandardArtifactManager(Run<?,?> build)
-
Uses of Run in jenkins.model.lazy
Classes in jenkins.model.lazy with type parameters of type Run Modifier and Type Class 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 aJob
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>>
Marker for aRun
which uses this mixin.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. -
Uses of Run in jenkins.scm
Classes in jenkins.scm with type parameters of type Run Modifier and Type Interface Description interface
RunWithSCM<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT> & RunWithSCM<JobT,RunT>>
-
Uses of Run in jenkins.tasks
Methods in jenkins.tasks with parameters of type Run Modifier and Type Method Description ConsoleLogFilter
SimpleBuildWrapper. createLoggerDecorator(Run<?,?> build)
Allows this wrapper to decorate log output.default void
SimpleBuildStep. perform(Run<?,?> run, EnvVars env, TaskListener listener)
Run this step, without a workspace context.default void
SimpleBuildStep. perform(Run<?,?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener)
Run this step.default void
SimpleBuildStep. perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
Deprecated.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.void
SimpleBuildWrapper. setUp(SimpleBuildWrapper.Context context, Run<?,?> build, TaskListener listener, EnvVars initialEnvironment)
Called when a segment of a build is started that is to be enhanced with this wrapper.void
SimpleBuildWrapper.Disposer. tearDown(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
Attempt to clean up anything that was done in the initial setup.void
SimpleBuildWrapper.Disposer. tearDown(Run<?,?> build, TaskListener listener)
Attempt to clean up anything that was done in the initial setup. -
Uses of Run in jenkins.tasks.filters
Methods in jenkins.tasks.filters with parameters of type Run Modifier and Type Method Description static EnvVarsFilterRuleWrapper
EnvVarsFilterRuleWrapper. createRuleWrapper(Run<?,?> run, Object builder, Launcher launcher, List<EnvVarsFilterLocalRule> localRules)
boolean
EnvVarsFilterGlobalRule. isApplicable(Run<?,?> run, Object builder, Launcher launcher)
-
Uses of Run in jenkins.triggers
Methods in jenkins.triggers with parameters of type Run Modifier and Type Method Description void
ReverseBuildTrigger.RunListenerImpl. onCompleted(Run r, TaskListener listener)
-
Uses of Run in jenkins.widgets
Fields in jenkins.widgets with type parameters of type Run Modifier and Type Field Description List<HistoryPageEntry<Run>>
HistoryPageFilter. runs
Methods in jenkins.widgets with parameters of type Run Modifier and Type Method 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)
Method parameters in jenkins.widgets with type arguments of type Run Modifier and Type Method Description void
RunListProgressiveRendering. setBuilds(Iterable<? extends Run<?,?>> builds)
Jelly cannot call a constructor with arguments.
-