Uses of Class
hudson.model.Run
Packages that use Run
Package
Description
Server-side CLI commands for Hudson.
Beef up the plain text console output by adding HTML markup.
Core object model that are bound to URLs via stapler, rooted at
Jenkins.Listener interfaces for various events that occur inside the server.
Jenkins's interface with source code management systems.
Built-in
Triggers that run periodically to kick a new build.Other miscellaneous utility code
-
Uses of Run in hudson
Modifier and TypeMethodDescriptionstatic ConsoleUrlProviderFunctions.getConsoleProviderFor(Run<?, ?> run) voidLauncher.prepareFilterRules(Run<?, ?> run, EnvVarsFilterableBuilder builder) Build the environment filter rules that will be applied on the environment variables -
Uses of Run in hudson.cli
Method parameters in hudson.cli with type arguments of type Run -
Uses of Run in hudson.console
Methods in hudson.console with parameters of type RunModifier and TypeMethodDescriptionConsoleLogFilter.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 -
Uses of Run in hudson.diagnosis
Fields in hudson.diagnosis with type parameters of type Run -
Uses of Run in hudson.model
Classes in hudson.model with type parameters of type RunModifier and TypeClassDescriptionclassA job is an runnable entity under the monitoring of Hudson.classA particular execution ofJob.final classstatic interfaceRunMap.Constructor<R extends Run<?,R>> Runfactory.classJobthat monitors activities that happen outside Hudson, which requires occasional batch reload activity to obtain the up-to-date information.Subclasses of Run in hudson.modelModifier and TypeClassDescriptionclassAbstractBuild<P extends AbstractProject<P,R>, R extends AbstractBuild<P, R>> Base implementation ofRuns that build software.classA build of aProject.classFields in hudson.model declared as RunModifier and TypeFieldDescriptionprotected RunTRun.nextBuildNext build.protected RunTRun.previousBuildPrevious build.Fields in hudson.model with type parameters of type RunModifier and TypeFieldDescriptionstatic final FeedAdapter<Run> Run.FEED_ADAPTERFeedAdapterto produce feed from the summary of this build.static final FeedAdapter<Run> FeedAdapterto produce feeds to show one build per project.static final Comparator<Run> Run.ORDER_BY_DATESort by date.Methods in hudson.model that return RunModifier and TypeMethodDescriptionstatic Run<?, ?> Run.fromExternalizableId(String id) Tries to find a run from an persisted identifier.Run<?, ?> BuildTimelineWidget.getFirstBuild()Deprecated.Run<?, ?> BuildTimelineWidget.getLastBuild()Deprecated.Fingerprint.BuildPtr.getRun()Gets theJobthat this pointer points to, or null if such a job no longer exists.RunParameterValue.getRun()Can be null if theRunthat this was pointing to no longer exists.Run<?, ?> Cause.UpstreamCause.getUpstreamRun()RunParameterValue.getValue()abstract Run<?, ?> Resolves the permalink to a build.Methods in hudson.model that return types with arguments of type RunMethods in hudson.model with parameters of type RunModifier and TypeMethodDescriptionvoidAdds a usage reference to the build.voidBooleanParameterValue.buildEnvironment(Run<?, ?> build, EnvVars env) Exposes the name/value as an environment variable.default voidEnvironmentContributingAction.buildEnvironment(Run<?, ?> run, EnvVars env) Called byRunto allow plugins to contribute environment variables.voidFileParameterValue.buildEnvironment(Run<?, ?> build, EnvVars env) Exposes the originalFileName as an environment variable.voidParametersAction.buildEnvironment(Run<?, ?> run, EnvVars env) voidParameterValue.buildEnvironment(Run<?, ?> build, EnvVars env) Adds environmental variables for the builds to the given map.voidPasswordParameterValue.buildEnvironment(Run<?, ?> build, EnvVars env) voidRunParameterValue.buildEnvironment(Run<?, ?> build, EnvVars env) Exposes the name/value as an environment variable.voidStringParameterValue.buildEnvironment(Run<?, ?> build, EnvVars env) Exposes the name/value as an environment variable.voidEnvironmentContributor.buildEnvironmentFor(Run r, EnvVars envs, TaskListener listener) Contributes environment variables used for a build.Collection<? extends Action> Deprecated.Creates actions for the given build.FingerprintMap.getOrCreate(Run build, String fileName, String md5sum) static ResultTrendResultTrend.getResultTrend(Run<?, ?> run) Returns the result trend of a run.booleanReturns true ifFingerprint.BuildPtrpoints to the given run.voidCalled when the cause is registered.voidCauseAction.onAttached(Run<?, ?> owner) When hooked up to build, notifyCauses.voidParametersAction.onAttached(Run<?, ?> r) voidRunAction.onAttached(Run r) Deprecated.Called when the action is added to theRunobject.voidCalled when a build is loaded from disk.voidvoidbooleanReturns true if this cause points to the specified build.voidExecutor.recordCauseOfInterruption(Run<?, ?> build, TaskListener listener) report cause of interruption and record it to the build, if available.abstract Run.SummaryRun.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 RunModifier and TypeMethodDescriptionstatic voidRSS.rss(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, String title, String url, RunList runList, FeedAdapter<Run> feedAdapter) Sends the RSS feed to the client using a specific feed adapter.static voidRSS.rss(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String title, String url, RunList runList, FeedAdapter<Run> feedAdapter) Deprecated.Constructors in hudson.model with parameters of type RunModifierConstructorDescriptionFingerprint(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 RunModifier and TypeClassDescriptionclassRunListener<R extends Run>Receives notifications about builds.Methods in hudson.model.listeners with parameters of type RunModifier and TypeMethodDescriptionstatic voidRunListener.fireCompleted(Run r, TaskListener listener) Fires theRunListener.onCompleted(Run, TaskListener)event.static voidRunListener.fireDeleted(Run r) Fires theRunListener.onDeleted(R)event.static voidRunListener.fireFinalized(Run r) Fires theRunListener.onFinalized(Run)event.static voidRunListener.fireInitialize(Run r) Fires theRunListener.onInitialize(Run)event.static voidRunListener.fireStarted(Run r, TaskListener listener) Fires theRunListener.onStarted(Run, TaskListener)event.voidSCMListener.onChangeLogParsed(Run<?, ?> build, SCM scm, TaskListener listener, ChangeLogSet<?> changelog) Called once the changelog is determined.voidSCMListener.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 RunModifier and TypeMethodDescriptionRun<?, ?> AbstractScmTagAction.getRun()Run<?, ?> ChangeLogSet.getRun()Methods in hudson.scm with parameters of type RunModifier and TypeMethodDescriptionvoidChangeLogAnnotator.annotate(Run<?, ?> build, ChangeLogSet.Entry change, MarkupText text) Called by Hudson to allow markups to be added to the changelog text.voidSCM.buildEnvironment(Run<?, ?> build, Map<String, String> env) Adds environmental variables for the builds to the given map.NullSCM.calcRevisionsFromBuild(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) SCM.calcRevisionsFromBuild(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) Calculates theSCMRevisionStatethat represents the state of the workspace of the given build.voidNullSCM.checkout(Run<?, ?> build, Launcher launcher, FilePath workspace, TaskListener listener, File changelogFile, SCMRevisionState baseline) voidSCM.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.voidAbstractScmTagAction.onAttached(Run<?, ?> r) voidChangeLogSet<? extends ChangeLogSet.Entry> ChangeLogParser.parse(Run build, RepositoryBrowser<?> browser, File changelogFile) ChangeLogSet<? extends ChangeLogSet.Entry> NullChangeLogParser.parse(Run build, RepositoryBrowser<?> browser, File changelogFile) voidSCM.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 RunModifierConstructorDescriptionprotectedAbstractScmTagAction(Run<?, ?> run) protectedChangeLogSet(Run<?, ?> run, RepositoryBrowser<?> browser) -
Uses of Run in hudson.tasks
Methods in hudson.tasks that return RunMethods in hudson.tasks with parameters of type RunModifier and TypeMethodDescriptionvoidFingerprinter.FingerprintAction.onAttached(Run<?, ?> r) voidvoidArtifactArchiver.perform(Run<?, ?> build, FilePath ws, EnvVars environment, Launcher launcher, TaskListener listener) voidFingerprinter.perform(Run<?, ?> build, FilePath workspace, EnvVars environment, Launcher launcher, TaskListener listener) Constructors in hudson.tasks with parameters of type Run -
Uses of Run in hudson.triggers
Methods in hudson.triggers that return RunModifier and TypeMethodDescriptionRun<?, ?> SCMTrigger.BuildAction.getRun()SCMTrigger.SCMTriggerCause.getRun()Methods in hudson.triggers with parameters of type RunModifier and TypeMethodDescriptionvoidvoidSCMTrigger.BuildAction.onAttached(Run<?, ?> r) voidvoidConstructors in hudson.triggers with parameters of type Run -
Uses of Run in hudson.util
Classes in hudson.util with type parameters of type RunModifier and TypeClassDescriptionclassMethods in hudson.util with type parameters of type RunModifier and TypeMethodDescriptionCreates a aRunListcombining all the runs of the supplied jobs.RunList.fromRuns(Collection<? extends R> runs) Methods in hudson.util that return RunConstructors in hudson.util with parameters of type Run -
Uses of Run in jenkins.console
Methods in jenkins.console with parameters of type RunModifier and TypeMethodDescriptionstatic StringConsoleUrlProvider.consoleUrlOf(Run<?, ?> run) Looks up theConsoleUrlProvider.getConsoleUrl(hudson.model.Run<?, ?>)value from the first provider to offer one.ConsoleUrlProvider.getConsoleUrl(Run<?, ?> run) Get a URL relative to the context path of Jenkins which should be used to link to the console for the specified build.DefaultConsoleUrlProvider.getConsoleUrl(Run<?, ?> run) static ConsoleUrlProviderConsoleUrlProvider.getProvider(Run<?, ?> run) static StringConsoleUrlProvider.getRedirectUrl(Run<?, ?> run) Get a URL relative to the web server root which should be used to link to the console for the specified build. -
Uses of Run in jenkins.model
Classes in jenkins.model with type parameters of type RunModifier and TypeClassDescriptionclassParameterizedJobMixIn<JobT extends Job<JobT,RunT> & ParameterizedJobMixIn.ParameterizedJob<JobT, RunT> & Queue.Task, RunT extends Run<JobT, RunT> & Queue.Executable> Allows aJobto make use ofParametersDefinitionPropertyand be scheduled in various ways.static interfaceParameterizedJobMixIn.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 RunMethods in jenkins.model that return RunModifier and TypeMethodDescriptionRun<?, ?> PeepholePermalink.Cache.None.resolve(PeepholePermalink pp, Job<?, ?> job, String id) Run<?, ?> PeepholePermalink.Cache.PermalinkTarget.resolve(PeepholePermalink pp, Job<?, ?> job, String id) Implementation ofPeepholePermalink.resolve(Job).Run<?, ?> PeepholePermalink.Cache.Some.resolve(PeepholePermalink pp, Job<?, ?> job, String id) Run<?, ?> PeepholePermalink.Cache.Unknown.resolve(PeepholePermalink pp, Job<?, ?> job, String id) Run<?, ?> Resolves the permalink by using the cache if possible.default Run<?, ?> PeepholePermalink.Cache.PermalinkTarget.search(PeepholePermalink pp, Job<?, ?> job, String id, Run<?, ?> b) Partial implementation ofPeepholePermalink.Cache.PermalinkTarget.resolve(PeepholePermalink, Job, String)when searching.Methods in jenkins.model with parameters of type RunModifier and TypeMethodDescriptionvoidApplies this build discarder strategy to the given run, i.e.abstract booleanChecks if the given build satisfies the peep-hole criteria.voidCoreEnvironmentContributor.buildEnvironmentFor(Run r, EnvVars env, TaskListener listener) abstract ArtifactManagerArtifactManagerFactory.managerFor(Run<?, ?> build) Optionally creates a manager for a particular build.voidRunAction2.onAttached(Run<?, ?> r) Called when this action is added to a build.voidPeepholePermalink.RunListenerImpl.onCompleted(Run<?, ?> run, TaskListener listener) See if the new build matches any of the peephole permalink.voidIf any of the peephole permalink points to the build to be deleted, update it to point to the new location.voidGlobalBuildDiscarderListener.onFinalized(Run run) abstract voidCalled when this manager is loaded from disk.voidCalled after a build is loaded to which this action was previously attached.final voiddefault Run<?, ?> PeepholePermalink.Cache.PermalinkTarget.search(PeepholePermalink pp, Job<?, ?> job, String id, Run<?, ?> b) Partial implementation ofPeepholePermalink.Cache.PermalinkTarget.resolve(PeepholePermalink, Job, String)when searching.booleanprotected voidPeepholePermalink.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 RunModifier and TypeMethodDescriptionvoidApplies this build discarder strategy to the given job, i.e.Constructors in jenkins.model with parameters of type RunModifierConstructorDescriptionBlockedBecauseOfBuildInProgress(Run<?, ?> build) Creates a cause for the specified build.StandardArtifactManager(Run<?, ?> build) -
Uses of Run in jenkins.model.details
Constructors in jenkins.model.details with parameters of type Run -
Uses of Run in jenkins.model.lazy
Classes in jenkins.model.lazy with type parameters of type RunModifier and TypeClassDescriptionclassLazyBuildMixIn<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> static interfaceLazyBuildMixIn.LazyLoadingJob<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> Marker for aJobwhich uses this mixin.static interfaceLazyBuildMixIn.LazyLoadingRun<JobT extends Job<JobT,RunT> & Queue.Task & LazyBuildMixIn.LazyLoadingJob<JobT, RunT>, RunT extends Run<JobT, RunT> & LazyBuildMixIn.LazyLoadingRun<JobT, RunT>> Marker for aRunwhich uses this mixin.static classLazyBuildMixIn.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 RunModifier and TypeInterfaceDescriptioninterfaceRunWithSCM<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 RunModifier and TypeMethodDescriptionSimpleBuildWrapper.createLoggerDecorator(Run<?, ?> build) Allows this wrapper to decorate log output.default voidSimpleBuildStep.perform(Run<?, ?> run, EnvVars env, TaskListener listener) Run this step, without a workspace context.default voidSimpleBuildStep.perform(Run<?, ?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) Run this step.default voidSimpleBuildStep.perform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) Deprecated.voidSimpleBuildWrapper.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.voidSimpleBuildWrapper.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.voidSimpleBuildWrapper.Disposer.tearDown(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) Attempt to clean up anything that was done in the initial setup.voidSimpleBuildWrapper.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 RunModifier and TypeMethodDescriptionstatic EnvVarsFilterRuleWrapperEnvVarsFilterRuleWrapper.createRuleWrapper(Run<?, ?> run, Object builder, Launcher launcher, List<EnvVarsFilterLocalRule> localRules) booleanEnvVarsFilterGlobalRule.isApplicable(Run<?, ?> run, Object builder, Launcher launcher) -
Uses of Run in jenkins.triggers
Methods in jenkins.triggers with parameters of type RunModifier and TypeMethodDescriptionvoidReverseBuildTrigger.RunListenerImpl.onCompleted(Run r, TaskListener listener) -
Uses of Run in jenkins.widgets
Methods in jenkins.widgets with parameters of type RunModifier and TypeMethodDescriptionprotected voidprotected voidprotected abstract voidMethod parameters in jenkins.widgets with type arguments of type Run
RSS.rss(StaplerRequest2, StaplerResponse2, String, String, RunList, FeedAdapter)