forked from lix-project/hydra
Jobs: populate Jobs.jobset_id field when writing from hydra-eval-jobset
This commit is contained in:
parent
efa1f1d4fb
commit
624f1d8d2d
|
@ -417,7 +417,12 @@ sub checkBuild {
|
|||
my $build;
|
||||
|
||||
txn_do($db, sub {
|
||||
my $job = $jobset->jobs->update_or_create({ name => $jobName });
|
||||
my $job = $jobset->jobs->update_or_create({
|
||||
name => $jobName,
|
||||
jobset_id => $jobset->id,
|
||||
project => $jobset->project,
|
||||
jobset => $jobset->name,
|
||||
});
|
||||
|
||||
# Don't add a build that has already been scheduled for this
|
||||
# job, or has been built but is still a "current" build for
|
||||
|
|
Loading…
Reference in a new issue