提交 3df6408c 编写于 作者: K Kohsuke Kawaguchi

Jenkins

上级 32956d26
......@@ -11,7 +11,7 @@ import java.io.Serializable;
* Immutable object that represents the result of {@linkplain SCM#poll(AbstractProject, Launcher, FilePath, TaskListener, SCMRevisionState) SCM polling}.
*
* <p>
* This object is marked serializable just to be remoting friendly &mdash; Hudson by itself
* This object is marked serializable just to be remoting friendly &mdash; Jenkins by itself
* doesn't persist this object.
*
* @author Kohsuke Kawaguchi
......@@ -56,7 +56,7 @@ public final class PollingResult implements Serializable {
*/
INSIGNIFICANT,
/**
* There are changes between states that warrant a new build. Hudson will eventually
* There are changes between states that warrant a new build. Jenkins will eventually
* schedule a new build for this change, subject to other considerations
* such as the quiet period.
*/
......@@ -64,15 +64,15 @@ public final class PollingResult implements Serializable {
/**
* The state as of baseline is so different from the current state that they are incomparable
* (for example, the workspace and the remote repository points to two unrelated repositories
* because the configuration has changed.) This forces Hudson to schedule a build right away.
* because the configuration has changed.) This forces Jenkins to schedule a build right away.
* <p>
* This is primarily useful in SCM implementations that require a workspace to be able
* to perform a polling. SCMs that can always compare remote revisions regardless of the local
* state should do so, and never return this constant, to let Hudson maintain the quiet period
* state should do so, and never return this constant, to let Jenkins maintain the quiet period
* behavior all the time.
* <p>
* This constant is not to be confused with the errors encountered during polling, which
* should result in an exception and eventual retry by Hudson.
* should result in an exception and eventual retry by Jenkins.
*/
INCOMPARABLE
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册