Merge pull request #1107 from DeterminateSystems/runcommand/project-jobset-name
RunCommand: update the source of project and jobset names
This commit is contained in:
commit
29f9e30b10
|
@ -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