随笔分类 -  jenkins CI/CD

摘要:提问 如何Jenkins发布NetCore程序 回答 cd BluePig taskkill /F /im BluePig.exe nssm stop BluePig nssm remove BluePig confirm del /s /f /q publish dotnet restore do 阅读全文
posted @ 2023-02-14 09:39 东百牧码人 阅读(23) 评论(0) 推荐(0)
摘要:提问 构建后事件如何判断文件是否存在 回答 cd bin/Debug if exist *.nupkg dotnet nuget push *.nupkg --api-key oy2agil73bnrazxeblmqs2msoyoam7cuxh6ysybqn3zuzm --source https: 阅读全文
posted @ 2022-10-19 17:13 东百牧码人 阅读(106) 评论(0) 推荐(0)
摘要:提出问题 生成的nuget包名字不确定怎么办? 解决问题 使用*.nupkg匹配全部 dotnet nuget push -s http://localhost:18103/v3/index.json *.nupkg --skip-duplicate 参考 dotnet nuget push 阅读全文
posted @ 2022-09-01 15:49 东百牧码人 阅读(48) 评论(0) 推荐(0)