diff options
Diffstat (limited to 'mod/mod-build-task.cxx')
-rw-r--r-- | mod/mod-build-task.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx index 1466077..63ea327 100644 --- a/mod/mod-build-task.cxx +++ b/mod/mod-build-task.cxx @@ -149,8 +149,12 @@ handle (request& rq, response& rs) shared_ptr<package>&& p, const config_machine& cm) -> task_response_manifest { + uint64_t ts ( + chrono::duration_cast<std::chrono::nanoseconds> ( + b->timestamp.time_since_epoch ()).count ()); + string session (b->package_name + '/' + b->package_version.string () + - '/' + b->configuration); + '/' + b->configuration + '/' + to_string (ts)); string result_url (options_->host () + options_->root ().string () + "?build-result"); |