会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
徐同保
web前端行业的小学生
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
36
37
38
39
40
41
42
43
44
···
88
下一页
2021年10月19日
sqlite3可视化工具(vsCode)
摘要:
阅读全文
posted @ 2021-10-19 18:15 徐同保
阅读(146)
评论(0)
推荐(0)
jenkins权限管理(Role-based Authorization Strategy)
摘要: 通过正则表达式匹配项目:
阅读全文
posted @ 2021-10-19 13:51 徐同保
阅读(13)
评论(0)
推荐(0)
2021年10月18日
node执行批处理,并读取批处理生成的js文件(读取时清除缓存)
摘要: //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 徐同保
阅读(17)
评论(0)
推荐(0)
2021年10月14日
node+cross-spawn运行批处理脚本
摘要: 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 徐同保
阅读(39)
评论(0)
推荐(0)
XCOPY复制文件夹(包括隐藏的.git文件夹)
摘要: 使用/H指令 xcopy \Jenkins\workspace\m-node-edu \temp\test\ /Y /E /H /exclude:exclude.txt
阅读全文
posted @ 2021-10-14 14:46 徐同保
阅读(19)
评论(0)
推荐(0)
xcopy 忽略文件(类似于git忽略文件)
摘要: xcopy \Jenkins\workspace\test \temp\test\ /Y /E /exclude:exclude.txt exclude.txt: node_modules
阅读全文
posted @ 2021-10-14 12:09 徐同保
阅读(19)
评论(0)
推荐(0)
2021年10月13日
node打开本地git项目获取当前分支名称
摘要: 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 徐同保
阅读(19)
评论(0)
推荐(0)
查看nginx的进程编号,并杀死
摘要: tasklist | findstr nginx taskkill -PID 55232 -F taskkill -PID 59924 -F
阅读全文
posted @ 2021-10-13 16:31 徐同保
阅读(8)
评论(0)
推荐(0)
使用xshell免密(ssh)登录阿里云服务器,启动/停止nginx服务
摘要: net stop nginx net start nginx
阅读全文
posted @ 2021-10-13 16:10 徐同保
阅读(8)
评论(0)
推荐(0)
使用TortoiseGit把已经存在的项目提交到github的空仓库
摘要: 或者:
阅读全文
posted @ 2021-10-13 15:24 徐同保
阅读(9)
评论(0)
推荐(0)
上一页
1
···
36
37
38
39
40
41
42
43
44
···
88
下一页
公告