mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
Production code shouldn't be using this, but for tests, this is very convenience, so let's not mark this as deprecated.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16155 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
d280f213c4
commit
b70e53fe5b
1 file changed
+6
-2
@@ -509,8 +509,12 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,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.
|
||||
*
|
||||
* <p>
|
||||
* Production code shouldn't be using this, but for tests, this is very convenience, so this isn't marked
|
||||
* as deprecated.
|
||||
*/
|
||||
public Future<R> scheduleBuild2(int quietPeriod) {
|
||||
return scheduleBuild2(quietPeriod, new LegacyCodeCause());
|
||||
|
||||
Reference in new issue
Block a user