From c5666095a11f174213c78e257f042bb01760d4b9 Mon Sep 17 00:00:00 2001 From: Chaker Benhamed Date: Tue, 11 Jul 2017 16:13:56 +0100 Subject: [PATCH] Use build id for bitbucket Key --- src/lib/Hydra/Plugin/BitBucketStatus.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Plugin/BitBucketStatus.pm b/src/lib/Hydra/Plugin/BitBucketStatus.pm index 27d7e8fb..e02c6c71 100644 --- a/src/lib/Hydra/Plugin/BitBucketStatus.pm +++ b/src/lib/Hydra/Plugin/BitBucketStatus.pm @@ -30,7 +30,7 @@ sub common { state => $finished ? toBitBucketState($b->buildstatus) : "INPROGRESS", url => "$baseurl/build/" . $b->id, name => $jobName, - key => $jobName, + key => $b->id, description => "Hydra build #" . $b->id . " of $jobName", }); while (my $eval = $evals->next) {