Commit 54efa98a by 张思远

m

parents 4ff0c8ac 0eb75f7f
Pipeline #160 failed with stages
in 0 seconds
build-job:
stage: build
script:
- echo "Hello, $GITLAB_USER_LOGIN!"
- echo "Hello, 1"
tags:
- test
test-job1:
stage: test
script:
- echo "This job tests something"
tags:
- test
test-job2:
stage: test
......@@ -15,9 +19,13 @@ test-job2:
- echo "After the echo commands complete, it runs the sleep command for 20 seconds"
- echo "which simulates a test that runs 20 seconds longer than test-job1"
- sleep 20
tags:
- test
deploy-prod:
stage: deploy
script:
- echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
- echo "This job deploys something from the 1"
environment: production
tags:
- test
<<<<<<< HEAD
cd %1
git pull
=======
%username%
pause
>>>>>>> 86113a3e1937102c4b42424a70135869c24d5425
#!/bin/bash
git pull
\ No newline at end of file
git pull test success
test runner
test piplelines
<<<<<<< HEAD
runer test
=======
test runner tags
>>>>>>> 0eb75f7f9bbda142f21dbf959f2f34994b023be9
<?php
header('Content-type:text/html;charset=utf-8');
$post = file_get_contents("php://input");
$post = json_decode($post, true);
$project = $post['project'];
$web_url = $project['web_url'];
$web_url = str_replace('http://','https://', $web_url);
// echo $web_url;exit;
$dir = __DIR__;
$cmd = 't.bat ' . $dir . ' ' . $web_url;
if (strpos(strtoupper(PHP_OS), 'WIN') === 0) {
$project = $post['project'];
$web_url = $project['web_url'];
$web_url = str_replace('http://','https://', $web_url);
// echo $web_url;exit;
$dir = __DIR__;
$cmd = 't.bat ' . $dir . ' ' . $web_url;
} else {
//su
$cmd = 'bash t.sh';
}
$descriptorspec = [
["pipe", "r"], // stdin
["pipe", "w"], // stdout
......
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