From ca4b8d449ff4eecf26e4b0096b0a5aab056052f4 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Mon, 6 Sep 2021 21:12:13 -0400 Subject: [PATCH] BitBucketStatus: tbuild -> build (typo) --- src/lib/Hydra/Plugin/BitBucketStatus.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/Hydra/Plugin/BitBucketStatus.pm b/src/lib/Hydra/Plugin/BitBucketStatus.pm index fee27070..097bed00 100644 --- a/src/lib/Hydra/Plugin/BitBucketStatus.pm +++ b/src/lib/Hydra/Plugin/BitBucketStatus.pm @@ -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){