aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-ci.cxx')
-rw-r--r--mod/mod-ci.cxx18
1 files changed, 11 insertions, 7 deletions
diff --git a/mod/mod-ci.cxx b/mod/mod-ci.cxx
index d2da93f..4da72b6 100644
--- a/mod/mod-ci.cxx
+++ b/mod/mod-ci.cxx
@@ -376,15 +376,18 @@ handle (request& rq, response& rs)
s.next ("package", p);
}
+ if (params.interactive_specified ())
+ s.next ("interactive", params.interactive ());
+
+ if (!simulate.empty ())
+ s.next ("simulate", simulate);
+
s.next ("timestamp",
butl::to_string (ts,
"%Y-%m-%dT%H:%M:%SZ",
false /* special */,
false /* local */));
- if (!simulate.empty ())
- s.next ("simulate", simulate);
-
// Serialize the User-Agent HTTP header and the client IP address.
//
optional<string> ip;
@@ -412,10 +415,11 @@ handle (request& rq, response& rs)
{
const string& n (nv.name);
- if (n != "repository" &&
- n != "_" &&
- n != "package" &&
- n != "overrides" &&
+ if (n != "repository" &&
+ n != "_" &&
+ n != "package" &&
+ n != "overrides" &&
+ n != "interactive" &&
n != "simulate")
s.next (n, nv.value ? *nv.value : "");
}