Uses of Class
hudson.scm.PollingResult
Package
Description
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.
-
Uses of PollingResult in hudson.model
Modifier and TypeMethodDescriptionAbstractProject.poll
(TaskListener listener) Checks if there's any update in SCM, and returns true if any is found.SCMedItem.poll
(TaskListener listener) Deprecated.Checks if there's any update in SCM, and returns true if any is found. -
Uses of PollingResult in hudson.model.listeners
Modifier and TypeMethodDescriptionstatic void
SCMPollListener.firePollingSuccess
(AbstractProject<?, ?> project, TaskListener listener, PollingResult result) void
SCMPollListener.onPollingSuccess
(AbstractProject<?, ?> project, TaskListener listener, PollingResult result) Called when the polling successfully concluded. -
Uses of PollingResult in hudson.scm
Modifier and TypeFieldDescriptionstatic final PollingResult
PollingResult.BUILD_NOW
Constant that usesPollingResult.Change.INCOMPARABLE
which forces an immediate build.static final PollingResult
PollingResult.NO_CHANGES
Constant to indicate no changes in the remote repository.static final PollingResult
PollingResult.SIGNIFICANT
Modifier and TypeMethodDescriptionNullSCM.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. -
Uses of PollingResult in jenkins.triggers
Modifier and TypeMethodDescriptionSCMTriggerItem.poll
(TaskListener listener) Checks if there is any update in SCM.