Merge pull request #1107 from DeterminateSystems/runcommand/project-jobset-name

RunCommand: update the source of project and jobset names
This commit is contained in:
Graham Christensen 2022-01-14 09:26:07 -05:00 committed by GitHub
commit 29f9e30b10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,8 +76,8 @@ sub makeJsonPayload {
build => $build->id,
finished => $build->get_column('finished') ? JSON::MaybeXS::true : JSON::MaybeXS::false,
timestamp => $build->get_column('timestamp'),
project => $build->get_column('project'),
jobset => $build->get_column('jobset'),
project => $build->project->get_column('name'),
jobset => $build->jobset->get_column('name'),
job => $build->get_column('job'),
drvPath => $build->get_column('drvpath'),
startTime => $build->get_column('starttime'),
@ -134,8 +134,8 @@ sub buildFinished {
my $commandsToRun = fanoutToCommands(
$self->{config},
$event,
$build->get_column('project'),
$build->get_column('jobset'),
$build->project->get_column('name'),
$build->jobset->get_column('name'),
$build->get_column('job')
);