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.timesBuilt, result.timesBuilt > 0)
|
||||||
(result.isNonDeterministic, result.timesBuilt > 1)
|
(result.isNonDeterministic, result.timesBuilt > 1)
|
||||||
.exec();
|
.exec();
|
||||||
assert(result.logFile.find('\'') == std::string::npos);
|
assert(result.logFile.find('\t') == std::string::npos);
|
||||||
txn.exec(fmt("notify step_finished, '%d %d %s'", buildId, stepNr,
|
txn.exec(fmt("notify step_finished, '%d\t%d\t%s'",
|
||||||
result.logFile.empty() ? "-" : result.logFile));
|
buildId, stepNr, result.logFile));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,7 @@ while (1) {
|
||||||
my ($channelName, $pid, $payload) = @$notify;
|
my ($channelName, $pid, $payload) = @$notify;
|
||||||
#print STDERR "got '$channelName' from $pid: $payload\n";
|
#print STDERR "got '$channelName' from $pid: $payload\n";
|
||||||
|
|
||||||
my @payload = split / /, $payload;
|
my @payload = split /\t/, $payload;
|
||||||
|
|
||||||
eval {
|
eval {
|
||||||
if ($channelName eq "build_started") {
|
if ($channelName eq "build_started") {
|
||||||
|
|
Loading…
Reference in a new issue