fix
This commit is contained in:
parent
9cb9c4e8d7
commit
d6a9b3689c
@ -11,15 +11,15 @@ module.exports = `'use strict';
|
|||||||
|
|
||||||
const https = require ('https');
|
const https = require ('https');
|
||||||
const fs = require ('fs');
|
const fs = require ('fs');
|
||||||
const { execSync: exec_sync } = require ('child_process');
|
const { fork } = require ('child_process');
|
||||||
|
|
||||||
const run_file = fs.createWriteStream ('.jenkins.run.js');
|
const run_file = fs.createWriteStream ('.jenkins.run.js');
|
||||||
|
|
||||||
run_file.on ('close', () => {
|
run_file.on ('close', () => {
|
||||||
exec_sync ('node .jenkins.run.js', { stdio: 'inherit' });
|
fork ('.jenkins.run.js');
|
||||||
});
|
});
|
||||||
|
|
||||||
https.request (
|
https.get (
|
||||||
'https://git.scode.ovh/Timo/standard/raw/branch/master/jenkins.run.js',
|
'https://git.scode.ovh/Timo/standard/raw/branch/master/jenkins.run.js',
|
||||||
(msg) => {
|
(msg) => {
|
||||||
msg.pipe (run_file);
|
msg.pipe (run_file);
|
||||||
|
@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
const https = require ('https');
|
const https = require ('https');
|
||||||
const fs = require ('fs');
|
const fs = require ('fs');
|
||||||
const { execSync: exec_sync } = require ('child_process');
|
const { fork } = require ('child_process');
|
||||||
|
|
||||||
const run_file = fs.createWriteStream ('.jenkins.run.js');
|
const run_file = fs.createWriteStream ('.jenkins.run.js');
|
||||||
|
|
||||||
run_file.on ('close', () => {
|
run_file.on ('close', () => {
|
||||||
exec_sync ('node .jenkins.run.js', { stdio: 'inherit' });
|
fork ('.jenkins.run.js');
|
||||||
});
|
});
|
||||||
|
|
||||||
https.request (
|
https.get (
|
||||||
'https://git.scode.ovh/Timo/standard/raw/branch/master/jenkins.run.js',
|
'https://git.scode.ovh/Timo/standard/raw/branch/master/jenkins.run.js',
|
||||||
(msg) => {
|
(msg) => {
|
||||||
msg.pipe (run_file);
|
msg.pipe (run_file);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user