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 TypeMethodDescriptionvoidSCMListener.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 SCMRevisionStatePollingResult.baselineBaseline of the comparison.static SCMRevisionStateSCMRevisionState.NONEfinal SCMRevisionStatePollingResult.remoteCurrent 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 theSCMRevisionStatethat represents the state of the workspace of the given build.Methods in hudson.scm with parameters of type SCMRevisionStateModifier and TypeMethodDescriptionvoidNullSCM.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.NullSCM.compareRemoteRevisionWith(Job<?, ?> project, Launcher launcher, FilePath workspace, TaskListener listener, SCMRevisionState baseline) protected PollingResultSCM.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 PollingResultSCM.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)