You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slms/push.bat

23 lines
464 B

@echo off
echo ============================================
echo 推送代码到Git仓库
echo ============================================
echo.
git add Jenkinsfile pom.xml sonar-project.properties docs/
git commit -m "fix: Add jpackage for EXE/MSI and fix git push issues"
git push origin main
if errorlevel 1 (
echo.
echo ✗ 推送失败
pause
exit /b 1
)
echo.
echo ✓ 推送成功!
echo.
echo 现在请访问Jenkins触发构建
pause