BitBucketStatus: tbuild -> build (typo)

This commit is contained in:
Graham Christensen 2021-09-06 21:12:13 -04:00 committed by GitHub
parent e9ba0b56f6
commit ca4b8d449f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,11 +32,11 @@ sub common {
my $ua = LWP::UserAgent->new();
my $body = encode_json(
{
state => $finished ? toBitBucketState($tbuild->buildstatus) : "INPROGRESS",
url => "$baseurl/build/" . $tbuild->id,
state => $finished ? toBitBucketState($build->buildstatus) : "INPROGRESS",
url => "$baseurl/build/" . $build->id,
name => $jobName,
key => $tbuild->id,
description => "Hydra build #" . $tbuild->id . " of $jobName",
key => $build->id,
description => "Hydra build #" . $build->id . " of $jobName",
});
while (my $eval = $evals->next) {
foreach my $i ($eval->jobsetevalinputs){