|
|
|
|
@ -943,21 +943,21 @@ pipeline {
|
|
|
|
|
if not exist artifacts mkdir artifacts
|
|
|
|
|
|
|
|
|
|
echo 复制制品到 artifacts 目录...
|
|
|
|
|
if exist target\slms-cli.jar copy /Y target\slms-cli.jar artifacts\slms-cli-!VERSION_TAG!.jar >nul
|
|
|
|
|
if exist target\slms-gui.jar copy /Y target\slms-gui.jar artifacts\slms-gui-!VERSION_TAG!.jar >nul
|
|
|
|
|
if exist target\slms-gui.exe copy /Y target\slms-gui.exe artifacts\slms-gui-!VERSION_TAG!.exe >nul
|
|
|
|
|
if exist target\slms-gui-installer.msi copy /Y target\slms-gui-installer.msi artifacts\slms-gui-installer-!VERSION_TAG!.msi >nul
|
|
|
|
|
if exist target\slms-gui.zip copy /Y target\slms-gui.zip artifacts\slms-gui-!VERSION_TAG!.zip >nul
|
|
|
|
|
if exist target\slms-web.war copy /Y target\slms-web.war artifacts\slms-web-!VERSION_TAG!.war >nul
|
|
|
|
|
if exist android\build\outputs\apk\debug\slms-debug.apk copy /Y android\build\outputs\apk\debug\slms-debug.apk artifacts\slms-debug-!VERSION_TAG!.apk >nul
|
|
|
|
|
if exist target\library.db copy /Y target\library.db artifacts\library-!VERSION_TAG!.db >nul
|
|
|
|
|
if exist target\run-gui.bat copy /Y target\run-gui.bat artifacts\run-gui-!VERSION_TAG!.bat >nul
|
|
|
|
|
if exist target\README-GUI.txt copy /Y target\README-GUI.txt artifacts\README-GUI.txt >nul
|
|
|
|
|
if exist target\README-GUI-EXE.txt copy /Y target\README-GUI-EXE.txt artifacts\README-GUI-EXE.txt >nul
|
|
|
|
|
if exist target\README-GUI-MSI.txt copy /Y target\README-GUI-MSI.txt artifacts\README-GUI-MSI.txt >nul
|
|
|
|
|
if exist target\slms-gui.exe copy /Y target\slms-gui.exe artifacts\slms-gui.exe >nul
|
|
|
|
|
if exist target\slms-gui-installer.msi copy /Y target\slms-gui-installer.msi artifacts\slms-gui-installer.msi >nul
|
|
|
|
|
if exist target\SLMS-v1.0.0.zip copy /Y target\SLMS-v1.0.0.zip artifacts\SLMS-v1.0.0.zip >nul
|
|
|
|
|
if exist target\\slms-cli.jar copy /Y target\\slms-cli.jar artifacts\\slms-cli-!VERSION_TAG!.jar >nul
|
|
|
|
|
if exist target\\slms-gui.jar copy /Y target\\slms-gui.jar artifacts\\slms-gui-!VERSION_TAG!.jar >nul
|
|
|
|
|
if exist target\\slms-gui.exe copy /Y target\\slms-gui.exe artifacts\\slms-gui-!VERSION_TAG!.exe >nul
|
|
|
|
|
if exist target\\slms-gui-installer.msi copy /Y target\\slms-gui-installer.msi artifacts\\slms-gui-installer-!VERSION_TAG!.msi >nul
|
|
|
|
|
if exist target\\slms-gui.zip copy /Y target\\slms-gui.zip artifacts\\slms-gui-!VERSION_TAG!.zip >nul
|
|
|
|
|
if exist target\\slms-web.war copy /Y target\\slms-web.war artifacts\\slms-web-!VERSION_TAG!.war >nul
|
|
|
|
|
if exist android\\build\\outputs\\apk\\debug\\slms-debug.apk copy /Y android\\build\\outputs\\apk\\debug\\slms-debug.apk artifacts\\slms-debug-!VERSION_TAG!.apk >nul
|
|
|
|
|
if exist target\\library.db copy /Y target\\library.db artifacts\\library-!VERSION_TAG!.db >nul
|
|
|
|
|
if exist target\\run-gui.bat copy /Y target\\run-gui.bat artifacts\\run-gui-!VERSION_TAG!.bat >nul
|
|
|
|
|
if exist target\\README-GUI.txt copy /Y target\\README-GUI.txt artifacts\\README-GUI.txt >nul
|
|
|
|
|
if exist target\\README-GUI-EXE.txt copy /Y target\\README-GUI-EXE.txt artifacts\\README-GUI-EXE.txt >nul
|
|
|
|
|
if exist target\\README-GUI-MSI.txt copy /Y target\\README-GUI-MSI.txt artifacts\\README-GUI-MSI.txt >nul
|
|
|
|
|
if exist target\\slms-gui.exe copy /Y target\\slms-gui.exe artifacts\\slms-gui.exe >nul
|
|
|
|
|
if exist target\\slms-gui-installer.msi copy /Y target\\slms-gui-installer.msi artifacts\\slms-gui-installer.msi >nul
|
|
|
|
|
if exist target\\SLMS-v1.0.0.zip copy /Y target\\SLMS-v1.0.0.zip artifacts\\SLMS-v1.0.0.zip >nul
|
|
|
|
|
|
|
|
|
|
REM 创建 orphan 分支,只推送制品
|
|
|
|
|
git checkout --orphan release-%BUILD_NUMBER%
|
|
|
|
|
|