forked from lix-project/hydra
RunCommand: update project / jobset name refs
This commit is contained in:
parent
769f56f793
commit
5b35a597b4
|
@ -76,8 +76,8 @@ sub makeJsonPayload {
|
||||||
build => $build->id,
|
build => $build->id,
|
||||||
finished => $build->get_column('finished') ? JSON::MaybeXS::true : JSON::MaybeXS::false,
|
finished => $build->get_column('finished') ? JSON::MaybeXS::true : JSON::MaybeXS::false,
|
||||||
timestamp => $build->get_column('timestamp'),
|
timestamp => $build->get_column('timestamp'),
|
||||||
project => $build->get_column('project'),
|
project => $build->project->get_column('name'),
|
||||||
jobset => $build->get_column('jobset'),
|
jobset => $build->jobset->get_column('name'),
|
||||||
job => $build->get_column('job'),
|
job => $build->get_column('job'),
|
||||||
drvPath => $build->get_column('drvpath'),
|
drvPath => $build->get_column('drvpath'),
|
||||||
startTime => $build->get_column('starttime'),
|
startTime => $build->get_column('starttime'),
|
||||||
|
@ -134,8 +134,8 @@ sub buildFinished {
|
||||||
my $commandsToRun = fanoutToCommands(
|
my $commandsToRun = fanoutToCommands(
|
||||||
$self->{config},
|
$self->{config},
|
||||||
$event,
|
$event,
|
||||||
$build->get_column('project'),
|
$build->project->get_column('name'),
|
||||||
$build->get_column('jobset'),
|
$build->jobset->get_column('name'),
|
||||||
$build->get_column('job')
|
$build->get_column('job')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue