allow using a shorter context and increase hydra-notify debug
[?]
Sep 10, 2018, 4:50 PM
7LD275CWWC7L5V4ETGIQRMOEJV5JRUSYQ7LUFINAUGAHWANCREGACDependencies
- [2]
NTEDD7T4Provide a plugin hook for when build steps finish - [3]
5K2OOGOQGithub status API: Pull authorization from github_authorization by default - [4]
3STSGGIYGithubStatus: Allow config to specify the integration description and context - [5]
WIM6VQOHGithubStatus: Include the full job name and build ID in the context. - [6]
NSRWW6LCAdd a plugin to interact with the github status API. - [*]
24BMQDZAStart of single-process hydra-queue-runner - [*]
IE2PRAQUhydra-queue-runner: Send build notifications
Change contents
- edit in src/hydra-queue-runner/hydra-queue-runner.cc at line 490[2.2662][9.2117]
printMsg(lvlChatty, "Executing hydra-notify " + concatStringsSep(" ", argv)); - edit in src/lib/Hydra/Plugin/GithubStatus.pm at line 35
print STDERR "GithubStatus_Debug job name $jobName\n"; - edit in src/lib/Hydra/Plugin/GithubStatus.pm at line 41
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; - replacement in src/lib/Hydra/Plugin/GithubStatus.pm at line 50
context => $conf->{context} // "continuous-integration/hydra:" . $jobName . $contextTrailercontext => $context - replacement in src/lib/Hydra/Plugin/GithubStatus.pm at line 67
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);