Implement VM-test for gitea plugin

This commit is contained in:
Maximilian Bosch
2021-03-30 22:35:39 +02:00
parent 56997d8e8b
commit eecea56131
2 changed files with 193 additions and 1 deletions

View File

@ -62,7 +62,7 @@ sub common {
my $rev = $i->revision;
my $domain = URI->new($i->uri)->host;
my $url = "http://$domain:3000/api/v1/repos/$repoOwner/$repoName/statuses/$rev";
my $url = "http://$domain:3001/api/v1/repos/$repoOwner/$repoName/statuses/$rev";
print STDERR "GiteaStatus POSTing $state to $url\n";
my $req = HTTP::Request->new('POST', $url);