(cherry picked from commit 1c76ad393669af2f728fd519a050f417319412a6)
7LD275CWWC7L5V4ETGIQRMOEJV5JRUSYQ7LUFINAUGAHWANCREGAC
NTEDD7T4M7XXYCWNZN57EJOEH3KI3UYMHOANV4MY2LSUPWX3JRDQC
5K2OOGOQF3PJEWDVPV2PCRTXUJSELQJMEBZWEQV2SHPTN5LH7E5QC
3STSGGIY6SVHMYFMCTP2ILO5ZWDAQ5MJYAMUMVV2AYCTBDEF7Q2AC
IE2PRAQUCQVFPJ4CAIJRPXXEFC5VBAE3EO5I5FG4XWEDRNONNHKQC
24BMQDZAWDQ7VNIA7TIROXSOYLOJBNZ2E4264WHWNJAEN6ZB3UOAC
NSRWW6LCJUUNQO4RI3MMYD4NVURBYBAG7SK3LJUY7KKC4OH7J65QC
WIM6VQOHCPKPF5YL62IRLN4C3ZWUOKOPR534O7TQ7V2244FSAVVQC
my $github_job_name = $jobName =~ s/-pr-\d+//r;
my $extendedContext = $conf->{context} // "continuous-integration/hydra:" . $jobName . $contextTrailer;
my $shortContext = $conf->{context} // "ci/hydra:" . $github_job_name . $contextTrailer;
my $context = $conf->{useShortContext} ? $shortContext : $extendedContext;
my $req = HTTP::Request->new('POST', "https://api.github.com/repos/$owner/$repo/statuses/$rev");
my $url = "https://api.github.com/repos/$owner/$repo/statuses/$rev";
print STDERR "GithubStatus_Debug POSTing to '", $url, "'\n";
my $req = HTTP::Request->new('POST', $url);