Jenkins上传apk到svn脚本-Windows
作者:
墨韵 | 来源:发表于
2022-10-20 17:09 被阅读0次Execute Windows batch command
RMDIR /S /Q OutPut
MKDIR OutPut
svn checkout --depth empty "https://xxx" OutPut --username xxx --password xxx --non-interactive --trust-server-cert
copy app\build\outputs\apk\dapi\release\*.apk OutPut\ /Y
for /f "delims=" %%t in ('"svn log -l 1 -q | findlog r"') do set log="%%t"
echo %log%
cd OutPut
svn add *.apk
svn status
svn commit -m %log% *.apk
cd ..
exit 0
Jenkins搭建关键步骤
必备全局属性
gradle设置
本文标题:Jenkins上传apk到svn脚本-Windows
本文链接:https://www.haomeiwen.com/subject/zjvuzrtx.html
网友评论