Commit 2e0eb9e2 by 张思远

a

parent e58a7da4
Pipeline #171 canceled with stage
......@@ -5,12 +5,12 @@ $post = file_get_contents("php://input");
$post = json_decode($post, true);
if (strpos(strtoupper(PHP_OS), 'WIN') === 0) {
$project = $post['project'];
$web_url = $project['web_url'];
// $project = $post['project'];
// $web_url = $project['web_url'];
$dir = __DIR__;
$cmd = 't.bat ' . $dir . ' ' . $web_url;
$cmd = 't.bat ' . $dir;
} else {
$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