From 808135febf441499dfbbdcfc2a9ca3bf7fa2e684 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 21 Sep 2022 18:16:01 +0300 Subject: Add support for interactive CI breakpoint 'none' value --- bbot/worker/worker.cxx | 2 +- doc/manual.cli | 5 +++-- tests/integration/testscript | 2 +- 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 -- cgit v1.1