Commit 2e0eb9e2 by 张思远

a

parent e58a7da4
Pipeline #171 canceled with stage
...@@ -5,12 +5,12 @@ $post = file_get_contents("php://input"); ...@@ -5,12 +5,12 @@ $post = file_get_contents("php://input");
$post = json_decode($post, true); $post = json_decode($post, true);
if (strpos(strtoupper(PHP_OS), 'WIN') === 0) { if (strpos(strtoupper(PHP_OS), 'WIN') === 0) {
$project = $post['project']; // $project = $post['project'];
$web_url = $project['web_url']; // $web_url = $project['web_url'];
$dir = __DIR__; $dir = __DIR__;
$cmd = 't.bat ' . $dir . ' ' . $web_url; $cmd = 't.bat ' . $dir;
} else { } else {
$cmd = 'bash t.sh'; $cmd = 'bash t.sh';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment