mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
Clarify quiet-down -block help text regarding Pipeline jobs (#27556)
The -block option of the quiet-down CLI command does not wait for running Pipeline jobs, because they are resumable and pause at the end of their current step. The usage text did not mention this, which led users to report the behavior as a bug. Clarify the help text.
This commit is contained in:
1 parent
ada8baaa7d
commit
ac92f88137
1 file changed
+1
-1
@@ -40,7 +40,7 @@ public class QuietDownCommand extends CLICommand {
|
||||
|
||||
private static final Logger LOGGER = Logger.getLogger(QuietDownCommand.class.getName());
|
||||
|
||||
@Option(name = "-block", usage = "Block until the system really quiets down and no builds are running")
|
||||
@Option(name = "-block", usage = "Block until the system really quiets down and no builds are running. Note that running Pipeline jobs do not block the quiet down: they pause at the end of their current step")
|
||||
public boolean block = false;
|
||||
|
||||
@Option(name = "-timeout", usage = "If non-zero, only block up to the specified number of milliseconds")
|
||||
|
||||
Reference in new issue
Block a user