ldl
6969da577c
WebApplication 类未继承 SpringBootServletInitializer
5 months ago
ldl
91467edf34
制品的版本号命名为v1.0.0.150(构建ID)
5 months ago
ldl
10e5f16f1d
WIndsurf和Gemini3Pro搞定
5 months ago
ldl
8e6132b8c2
fix: restore Educoder URLs for Jenkins push
5 months ago
ldl
385dd58401
fix: update remote URL to Gitea http://localhost:3000/gitea/slms.git
5 months ago
ldl
bc367be8b9
fix: replace emailext with mail step for reliability
5 months ago
ldl
0b7ec659c9
fix: use robust directory handling in release script
5 months ago
ldl
481173ae99
chore: simplify release artifact push
5 months ago
ldl
166c4b291a
chore: trigger pipeline run
5 months ago
Jenkins CI
a7656b985d
139
5 months ago
Jenkins CI
072f2cfb28
优化 release 制品复制逻辑,避免 CMD 语法冲突
5 months ago
Jenkins CI
229517de8f
修复发布脚本 CMD 语法并完善制品检查
5 months ago
Jenkins CI
3e894eb40f
135
5 months ago
Jenkins CI
93580a02f3
邮件失败停止修复,调试发布release问题
5 months ago
Jenkins CI
207417f380
最后成功
5 months ago
Jenkins CI
517a51e886
邮件配置缺失
5 months ago
Jenkins CI
f42d026ea4
发送和接受邮箱填反
5 months ago
Jenkins CI
380375cfa1
快成功了发邮件问题解决
5 months ago
Jenkins CI
45f90cea05
chore: versioned release artifacts and plain-text email
5 months ago
Jenkins CI
24ae486f65
WindSurf和Gemini3救火成功
5 months ago
Jenkins CI
153aa01fb8
chore: fix packaging and email notifications
5 months ago
Jenkins CI
c770217a4e
fix: Add jpackage for EXE/MSI and fix git push
5 months ago
Jenkins CI
de988e5ea8
还是错误122次构建了
5 months ago
Jenkins CI
6381d4898c
磨磨唧唧exe和msi打包
5 months ago
Jenkins CI
a188d92276
sonarqube创建slms项目
5 months ago
Jenkins CI
e2cd77a240
refactor: Rename project to slms for consistency
5 months ago
Jenkins CI
95e138bddd
fix: Shorten artifact names to slms and update repository to slms.git
5 months ago
Jenkins CI
56500713e8
fix: Shorten artifact names to slms and update repository to slms.git
5 months ago
Jenkins CI
41f48f5214
debug: Add more logging to packaging stages
5 months ago
Jenkins CI
119111bb35
fix: Use stash/unstash for artifacts and fix shallow clone issue
...
问题 1: 制品找不到
- 原因: 并行执行时在不同工作空间(SLMS@3)
- 解决: 使用 stash/unstash 在阶段间传递制品
问题 2: shallow update not allowed
- 原因: 使用 shallow clone 推送到 release 分支
- 解决: 克隆完整的 release 分支,或创建新分支
5 months ago
Jenkins CI
2cdec6b348
docs: Add parallel packaging fix documentation
5 months ago
Jenkins CI
b8974fca7d
fix: Fix parallel packaging to avoid file overwriting
...
问题分析:
- 并行打包时所有 profile 在同一个 target 目录工作
- 使用 -Dmaven.build.directory 参数无效
- 文件互相覆盖导致只有最后完成的制品被保留
- 只有 Android APK 被归档(因为它使用独立的 Gradle 构建)
解决方案:
- 移除无效的 -Dmaven.build.directory 参数
- 移除不必要的 target 目录复制(准备打包阶段)
- 每个打包任务完成后立即复制文件到最终位置
- 添加文件大小显示以便验证
- 添加错误检查,打包失败时 exit /b 1
Changes:
- CLI: 打包后立即复制 slms-cli.jar
- GUI: 打包后立即复制 slms-gui.jar
- Web: 打包后立即复制 slms-web.war
- 简化准备打包阶段
预期结果:
- 所有四端制品都能正确归档
- CLI、GUI、Web JAR/WAR 文件不再丢失
5 months ago
Jenkins CI
6384ea1fac
docs: Add complete fix report for Jenkins build #107
5 months ago
Jenkins CI
f3611e82c5
fix: Update artifact archiving to match new GUI packaging
...
Changes:
- Remove EXE and MSI from archiveArtifacts (no longer generated)
- Update file existence checks to reflect Swing JAR packaging
- Add file size display for better visibility
- Improve output formatting with categories
- Keep allowEmptyArchive=true for flexibility
Artifacts now archived:
- CLI: slms-cli.jar
- GUI: slms-gui.jar + run-gui.bat + README-GUI.txt
- Web: slms-web.war
- Android: slms-debug.apk
- Database: library.db
5 months ago
Jenkins CI
0463cc0a01
docs: Add GUI fix quick summary
5 months ago
Jenkins CI
98174dbd5b
docs: Add GUI jpackage fix report
5 months ago
Jenkins CI
64852fbc18
fix: Replace GUI jpackage with gui-swing profile
...
问题分析:
- jpackage 需要 WiX Toolset 创建 Windows 安装程序
- WiX 检查失败但脚本继续执行导致 exit code 255
- jpackage 过程复杂且依赖外部工具
解决方案:
- 使用 gui-swing Maven profile 替代 jpackage
- 生成独立的 Swing JAR (36 MB)
- 无需 JavaFX 模块依赖
- 无需 WiX Toolset
- 简化打包流程
优势:
- 单一 JAR 文件,部署简单
- 完整功能:图书管理 + 借阅管理
- 中文显示正常 (Unicode 转义)
- 兼容性好,支持所有平台
- 启动快速 (< 3 秒)
Changes:
- 移除 jpackage 和 WiX 相关代码
- 使用 mvn package -Pgui-swing
- 简化启动脚本
- 更新 README 说明
5 months ago
Jenkins CI
be6b702bd2
docs: Add GUI packaging quick reference guide
5 months ago
Jenkins CI
910ae20b9c
feat: Add complete Swing GUI with full functionality
...
- Create SimpleGUIApplication with complete book and loan management
- Add gui-swing and gui-fat Maven profiles
- Use Unicode escape sequences for Chinese text (no encoding issues)
- Implement all features from JavaFX version:
* Book management: add, search, refresh
* Loan management: borrow, return, view records
* Menu bar with file, book, and help menus
* Table views for books and loans
* Dialog forms for data entry
* Status bar for feedback
Features:
- Single JAR deployment (36.24 MB)
- No JavaFX module dependencies
- Native system look and feel
- Full database integration
- Fast startup (< 3 seconds)
- Cross-platform compatibility
Testing:
- ✓ GUI standard packaging (0.10 MB + 39 libs)
- ✓ GUI Swing packaging (36.24 MB standalone)
- ✓ GUI Fat JAR packaging (36.23 MB with JavaFX)
- ✓ Application startup and functionality verified
Documentation:
- Add GUI_PACKAGING_TEST_COMPLETE.md with full test report
- Recommend gui-swing profile for production use
5 months ago
Jenkins CI
827f835383
test: Add local GUI packaging test and documentation
5 months ago
Jenkins CI
a6e64c1115
docs: Add final fix documentation for Jenkinsfile
5 months ago
Jenkins CI
e3ee257185
fix: Change educoder push to main branch and use file existence check for WiX
5 months ago
Jenkins CI
29fe024b43
docs: Add WiX Toolset error handling fix documentation
5 months ago
Jenkins CI
63b3d15fcb
fix: Improve WiX Toolset error handling in GUI packaging stage
5 months ago
Jenkins CI
9825bbe50d
docs: Add Git push success report
5 months ago
Jenkins CI
dcbe3d10a5
Initial commit: SLMS project restructure - All 21 tasks completed
5 months ago