mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 21:32:26 +00:00
webhook progress
This commit is contained in:
parent
44889a1b2f
commit
a359e16ae9
2 changed files with 8 additions and 5 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use POSIX "strftime";
|
||||
|
||||
|
||||
use CGI qw(:standard escapeHTML);
|
||||
|
|
@ -27,5 +28,7 @@ print header(),
|
|||
|
||||
open(LOG, ">>/tmp/postpush.log") or die "Could not create postpush.log";
|
||||
flock(LOG, 2) or die "Could not lock postpush.log";
|
||||
printf LOG "Repository $repo, branch $branch, name $name.\n";
|
||||
printf LOG strftime("%Y/%m/%d %H.%M.%S", localtime), " Repository $repo, branch $branch, name $name.\n";
|
||||
close(LOG);
|
||||
|
||||
system "ssh root@oberon perl vishap/voc/src/tools/testcoordinator/buildall.pl >/tmp/buildall.log &";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue