GithubStatus: Include the full job name and build ID in the context.
[?]
Apr 12, 2016, 7:19 PM
WIM6VQOHCPKPF5YL62IRLN4C3ZWUOKOPR534O7TQ7V2244FSAVVQCDependencies
- [2]
NSRWW6LCAdd a plugin to interact with the github status API.
Change contents
- replacement in src/lib/Hydra/Plugin/GithubStatus.pm at line 32
my $body = encode_json({state => $finished ? toGithubState($b->buildstatus) : "pending",target_url => "$baseurl/build/" . $b->id,description => "Hydra build #" . $b->id . " of $jobName",context => "continuous-integration/hydra"}); - edit in src/lib/Hydra/Plugin/GithubStatus.pm at line 36
my $contextTrailer = $conf->{excludeBuildFromContext} ? "" : (":" . $b->id);my $body = encode_json({state => $finished ? toGithubState($b->buildstatus) : "pending",target_url => "$baseurl/build/" . $b->id,description => "Hydra build #" . $b->id . " of $jobName",context => "continuous-integration/hydra:" . $jobName . $contextTrailer});