Uses of Class
hudson.scm.SCMRevisionState
Packages that use SCMRevisionState
Package
Description
Listener interfaces for various events that occur inside the server.
Jenkins's interface with source code management systems.
-
Uses of SCMRevisionState in hudson.model.listeners
Methods in hudson.model.listeners with parameters of type SCMRevisionStateModifier and TypeMethodDescriptionvoid
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 SCMRevisionState in hudson.scm
Fields in hudson.scm declared as SCMRevisionStateModifier and TypeFieldDescriptionfinal SCMRevisionState
PollingResult.baseline
Baseline of the comparison.static SCMRevisionState
SCMRevisionState.NONE
final SCMRevisionState
PollingResult.remote
Current state of the remote repository.Methods in hudson.scm that return SCMRevisionStateModifier and TypeMethodDescriptionSCM._calcRevisionsFromBuild
(AbstractBuild<?, ?> build, Launcher launcher, TaskListener listener) Deprecated.NullSCM.calcRevisionsFromBuild
(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) SCM.calcRevisionsFromBuild
(AbstractBuild<?, ?> build, Launcher launcher, TaskListener listener) Deprecated.SCM.calcRevisionsFromBuild
(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) Calculates theSCMRevisionState
that represents the state of the workspace of the given build.Methods in hudson.scm with parameters of type SCMRevisionStateModifier and TypeMethodDescriptionvoid
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.NullSCM.compareRemoteRevisionWith
(Job<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) protected PollingResult
SCM.compareRemoteRevisionWith
(AbstractProject<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) Deprecated.SCM.compareRemoteRevisionWith
(Job<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) Compares the current state of the remote repository against the given baselineSCMRevisionState
.final PollingResult
SCM.poll
(AbstractProject<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) Convenience method for the caller to handle the backward compatibility between pre 1.345 SCMs.Constructors in hudson.scm with parameters of type SCMRevisionStateModifierConstructorDescriptionPollingResult
(SCMRevisionState baseline, SCMRevisionState remote, PollingResult.Change change)