Jenkins上传文件至SVN
直接在Command Line Arguments指定编译文件输出路径 /p:OutputPath=D:\******
或着在Execute Windows batch command利用命令
Xcopy /E "D:*****\bin\Release\net6.0\*" "D:\********"
切换到上传svn的文件
cd D:\jenkins-workplace
删除缓存文件
for /R "D:\jenkins-workplace\SpecuroMed" %%i in (*.pdb) do del "%%i"
cd D:\jenkins-workplace\SpecuroMed
利用svn命令添加并提交
svn add --force .
svn commit -m "jenkins build"