X-Git-Url: https://git.exim.org/buildfarm-server.git/blobdiff_plain/a89b122ebd89a3d16913dbd7a5a56649e58a25d0..d12dd0f9631357ac568bb2163dc7a292688e3f10:/cgi-bin/register.pl diff --git a/cgi-bin/register.pl b/cgi-bin/register.pl index 80663b6..808cd89 100755 --- a/cgi-bin/register.pl +++ b/cgi-bin/register.pl @@ -158,3 +158,16 @@ print $fh "\n\nName: $dummyname\n", "Comp: $comp: $compv\n", "Owner: $owner <$email>\n"; $fh->close; + +use HTTP::Tiny; +use JSON::PP; +HTTP::Tiny->new(timeout => 5)->post( + 'http://127.0.0.1:2567/api/message', { + headers => {'content-type' => 'application/json'}, + content => encode_json({ + gateway => 'exim-builds', + username => '', + text => "[new application] os: $os ($osv); arch: $arch; comp: $comp ($compv)", + }), + } +);