forked from lix-project/hydra
Separate payload elements using \t
This commit is contained in:
parent
c7861b85c4
commit
7114d2aceb
|
@ -299,9 +299,9 @@ void State::finishBuildStep(pqxx::work & txn, const RemoteResult & result,
|
|||
(result.timesBuilt, result.timesBuilt > 0)
|
||||
(result.isNonDeterministic, result.timesBuilt > 1)
|
||||
.exec();
|
||||
assert(result.logFile.find('\'') == std::string::npos);
|
||||
txn.exec(fmt("notify step_finished, '%d %d %s'", buildId, stepNr,
|
||||
result.logFile.empty() ? "-" : result.logFile));
|
||||
assert(result.logFile.find('\t') == std::string::npos);
|
||||
txn.exec(fmt("notify step_finished, '%d\t%d\t%s'",
|
||||
buildId, stepNr, result.logFile));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ while (1) {
|
|||
my ($channelName, $pid, $payload) = @$notify;
|
||||
#print STDERR "got '$channelName' from $pid: $payload\n";
|
||||
|
||||
my @payload = split / /, $payload;
|
||||
my @payload = split /\t/, $payload;
|
||||
|
||||
eval {
|
||||
if ($channelName eq "build_started") {
|
||||
|
|
Loading…
Reference in a new issue