aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-25 21:12:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-31 01:10:52 +0300
commitd6a34b68d4667d4b99c1e76d63604a7bc1c9c3dd (patch)
treeb3429ea208e804bdd4b7f80416510e509ff36181 /libbrep/build.cxx
parent94b04d166c1041028571222b9931121b0f7dfded (diff)
Add support for bbot agent authentication
Diffstat (limited to 'libbrep/build.cxx')
-rw-r--r--libbrep/build.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbrep/build.cxx b/libbrep/build.cxx
index 2391165..0941c5f 100644
--- a/libbrep/build.cxx
+++ b/libbrep/build.cxx
@@ -60,6 +60,7 @@ namespace brep
build (string pnm, version pvr,
string cfg,
string tnm, version tvr,
+ optional<string> afp, optional<string> ach,
string mnm, string msm,
optional<butl::target_triplet> trg)
: id (package_id (move (pnm), pvr), move (cfg), tvr),
@@ -71,6 +72,7 @@ namespace brep
state (build_state::building),
timestamp (timestamp_type::clock::now ()),
force (force_state::unforced),
+ agent_fingerprint (move (afp)), agent_challenge (move (ach)),
machine (move (mnm)),
machine_summary (move (msm)),
target (move (trg))