From 2742fde8c2f3c6ec02eb7d9887f54a00aca0a175 Mon Sep 17 00:00:00 2001 From: Nathan van Doorn Date: Mon, 2 Nov 2020 10:14:54 +0000 Subject: [PATCH] Remove Debug prints from GitLabStatus.pm These make the hydra-queue-runner logs very noisy even when not using the GitlabStatus plugin. Also, they shouldn't be necessary except when developing the plugin itself and should have been removed before release. --- src/lib/Hydra/Plugin/GithubStatus.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/Hydra/Plugin/GithubStatus.pm b/src/lib/Hydra/Plugin/GithubStatus.pm index 7db6bb52..299a38e2 100644 --- a/src/lib/Hydra/Plugin/GithubStatus.pm +++ b/src/lib/Hydra/Plugin/GithubStatus.pm @@ -37,7 +37,6 @@ sub common { my $ua = LWP::UserAgent->new(); foreach my $conf (@config) { - print STDERR "GithubStatus_Debug job name $jobName\n"; next unless $jobName =~ /^$conf->{jobs}$/; # Don't send out "pending" status updates if the build is already finished next if !$finished && $b->finished == 1; @@ -70,7 +69,6 @@ sub common { my $owner = $1; my $repo = $2; 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); $req->header('Content-Type' => 'application/json'); $req->header('Accept' => 'application/vnd.github.v3+json');