上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 88 下一页
摘要: 阅读全文
posted @ 2021-10-19 18:15 徐同保 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 通过正则表达式匹配项目: 阅读全文
posted @ 2021-10-19 13:51 徐同保 阅读(3) 评论(0) 推荐(0) 编辑
摘要: //jenkins部署时自动调run接口执行批处理,pm2起项目 const run = async (req, res) => { const { branch } = req.body console.log(branch) spawn.sync('yarn -v', [], { stdio: 阅读全文
posted @ 2021-10-18 14:07 徐同保 阅读(2) 评论(0) 推荐(0) 编辑
摘要: run.js: const spawn = require('cross-spawn'); spawn.sync('yarn -v', [], { stdio: 'inherit' }) spawn.sync('run.bat origin/master', [], { stdio: 'inheri 阅读全文
posted @ 2021-10-14 16:05 徐同保 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 使用/H指令 xcopy \Jenkins\workspace\m-node-edu \temp\test\ /Y /E /H /exclude:exclude.txt 阅读全文
posted @ 2021-10-14 14:46 徐同保 阅读(2) 评论(0) 推荐(0) 编辑
摘要: xcopy \Jenkins\workspace\test \temp\test\ /Y /E /exclude:exclude.txt exclude.txt: node_modules 阅读全文
posted @ 2021-10-14 12:09 徐同保 阅读(6) 评论(0) 推荐(0) 编辑
摘要: open.js: const simpleGit = require('simple-git') const git = simpleGit('D:/source/edu-node-github'); const init = async () => { const status = await g 阅读全文
posted @ 2021-10-13 18:57 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
摘要: tasklist | findstr nginx taskkill -PID 55232 -F taskkill -PID 59924 -F 阅读全文
posted @ 2021-10-13 16:31 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
摘要: net stop nginx net start nginx 阅读全文
posted @ 2021-10-13 16:10 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 或者: 阅读全文
posted @ 2021-10-13 15:24 徐同保 阅读(0) 评论(0) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 88 下一页