@@ -2874,6 +2877,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
}
@CLIMethod(name="quiet-down")
@RequirePOST
publicHttpRedirectdoQuietDown(
@Option(name="-block",usage="Block until the system really quiets down and no builds are running")@QueryParameterbooleanblock,
@Option(name="-timeout",usage="If non-zero, only block up to the specified number of milliseconds")@QueryParameterinttimeout)throwsInterruptedException,IOException{
...
...
@@ -2893,6 +2897,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
}
@CLIMethod(name="cancel-quiet-down")
@RequirePOST// TODO the cancel link needs to be updated accordingly