aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-09-21 18:16:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-09-21 18:16:01 +0300
commit808135febf441499dfbbdcfc2a9ca3bf7fa2e684 (patch)
tree5fa35309c059609506ae795435404d59b583231a
parentf90426bdfbf1370be8ff1f48ac5ce4586e46177b (diff)
Add support for interactive CI breakpoint 'none' value
-rw-r--r--bbot/worker/worker.cxx2
-rw-r--r--doc/manual.cli5
-rw-r--r--tests/integration/testscript2
3 files changed, 5 insertions, 4 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index 234e804..e12ed9a 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -884,7 +884,7 @@ build (size_t argc, const char* argv[])
for (const string& re: tm.unquoted_warning_regex ())
wre.emplace_back (re, f);
- if (tm.interactive)
+ if (tm.interactive && *tm.interactive != "none")
{
const string& b (*tm.interactive);
diff --git a/doc/manual.cli b/doc/manual.cli
index 557f652..3b3bd4b 100644
--- a/doc/manual.cli
+++ b/doc/manual.cli
@@ -550,8 +550,9 @@ specified \c{interactive-mode} with either the \c{true} or \c{both} value in
the task request.
The breakpoint can either be a primary step id of the worker script or the
-special \c{error} or \c{warning} value. See \l{#arch-worker Worker Logic} for
-details.
+special \c{error} or \c{warning} value. There is also the special \c{none}
+value which never interrupts the task execution. See \l{#arch-worker Worker
+Logic} for details.
\h2#arch-task-worker-checksum|\c{worker-checksum}|
diff --git a/tests/integration/testscript b/tests/integration/testscript
index 8daa03b..e60e09c 100644
--- a/tests/integration/testscript
+++ b/tests/integration/testscript
@@ -49,7 +49,7 @@ wait = 1 # Seconds.
controller = --fake-request ../task --dump-result
pkg = libhello
-ver = 1.0.0+9
+ver = 1.0.0+10
#rep_url = "https://git.build2.org/hello/libhello.git#1.0"
#rep_type = git
rep_url = https://stage.build2.org/1