diff --git a/core/src/main/java/hudson/model/AbstractProject.java b/core/src/main/java/hudson/model/AbstractProject.java index 16bfc446e6..46e298dd7a 100644 --- a/core/src/main/java/hudson/model/AbstractProject.java +++ b/core/src/main/java/hudson/model/AbstractProject.java @@ -509,8 +509,12 @@ public abstract class AbstractProject
,R extends A } /** - * @deprecated - * Use {@link #scheduleBuild2(int, Cause)}. Since 1.283 + * Schedules a build, and returns a {@link Future} object + * to wait for the completion of the build. + * + *
+ * Production code shouldn't be using this, but for tests, this is very convenience, so this isn't marked
+ * as deprecated.
*/
public Future