邮件失败停止修复,调试发布release问题

main
Jenkins CI 5 months ago
parent 207417f380
commit 93580a02f3

10
Jenkinsfile vendored

@ -990,11 +990,13 @@ pipeline {
if exist target\\library.db (
copy /Y target\\library.db artifacts\\library-!VERSION_TAG!.db >nul
echo ✓ 已复制 library.db -> library-!VERSION_TAG!.db
) else if exist library.db (
copy /Y library.db artifacts\\library-!VERSION_TAG!.db >nul
echo ✓ 已复制 library.db (从根目录)
) else (
echo ⚠️ 警告: 找不到 library.db
if exist library.db (
copy /Y library.db artifacts\\library-!VERSION_TAG!.db >nul
echo ✓ 已复制 library.db (从根目录)
) else (
echo ⚠️ 警告: 找不到 library.db
)
)
if exist target\\run-gui.bat (
copy /Y target\\run-gui.bat artifacts\\run-gui-!VERSION_TAG!.bat >nul

@ -18,11 +18,11 @@ Fetching upstream changes from http://localhost:3000/gitea/slms.git
using GIT_ASKPASS to set credentials slms-jenkins-gitea
> C:\Program Files\Git\bin\git.exe fetch --tags --force --progress -- http://localhost:3000/gitea/slms.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/main^{commit}" # timeout=10
Checking out Revision 517a51e88677377c7e768e5e97ed6e92b2426d59 (refs/remotes/origin/main)
Checking out Revision 207417f380641a39524a571a15046b782dc94e07 (refs/remotes/origin/main)
> C:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10
> C:\Program Files\Git\bin\git.exe checkout -f 517a51e88677377c7e768e5e97ed6e92b2426d59 # timeout=10
Commit message: "é®ä»¶é…<EFBFBD>置缺失"
> C:\Program Files\Git\bin\git.exe rev-list --no-walk f42d026ea41bf280524aa3f5e247de8a5a4de32a # timeout=10
> C:\Program Files\Git\bin\git.exe checkout -f 207417f380641a39524a571a15046b782dc94e07 # timeout=10
Commit message: "最å<EFBFBD>Žæˆ<EFBFBD>功"
> C:\Program Files\Git\bin\git.exe rev-list --no-walk 517a51e88677377c7e768e5e97ed6e92b2426d59 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
@ -84,10 +84,10 @@ Fetching upstream changes from http://localhost:3000/gitea/slms.git
using GIT_ASKPASS to set credentials Gitea Repository Credentials
> C:\Program Files\Git\bin\git.exe fetch --tags --force --progress -- http://localhost:3000/gitea/slms.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/main^{commit}" # timeout=10
Checking out Revision 517a51e88677377c7e768e5e97ed6e92b2426d59 (refs/remotes/origin/main)
Checking out Revision 207417f380641a39524a571a15046b782dc94e07 (refs/remotes/origin/main)
> C:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10
> C:\Program Files\Git\bin\git.exe checkout -f 517a51e88677377c7e768e5e97ed6e92b2426d59 # timeout=10
Commit message: "é®ä»¶é…<EFBFBD>置缺失"
> C:\Program Files\Git\bin\git.exe checkout -f 207417f380641a39524a571a15046b782dc94e07 # timeout=10
Commit message: "最å<EFBFBD>Žæˆ<EFBFBD>功"
Cleaning workspace
> C:\Program Files\Git\bin\git.exe rev-parse --verify HEAD # timeout=10
Resetting working tree
@ -166,8 +166,8 @@ E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS>mvn clean compile test-com
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.133 s
[INFO] Finished at: 2025-11-27T09:33:11+08:00
[INFO] Total time: 46.988 s
[INFO] Finished at: 2025-11-27T10:30:20+08:00
[INFO] ------------------------------------------------------------------------
[Pipeline] echo
✓ 项ç®ç¼è¯æˆ<C3A6>功
@ -226,7 +226,7 @@ E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS>mvn test
æ•°æ<EFBFBD>®åº“连接已关闭!
æ•°æ<EFBFBD>®åº“表åˆ<EFBFBD>å§åŒå®Œæˆ<EFBFBD>!
æ•°æ<EFBFBD>®åº“连接æˆ<EFBFBD>功!
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.253 s - in com.smartlibrary.database.DatabaseConnectionTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.475 s - in com.smartlibrary.database.DatabaseConnectionTest
[INFO] Running com.smartlibrary.observer.BookStatusManagerTest
正在å<EFBFBD>é€<EFBFBD>é®ä»¶...
SMTPæœ<EFBFBD>务器: smtp.example.com:587
@ -252,21 +252,21 @@ SMTP服务器: smtp.example.com:587
收件人: 13800138000
内容: 借阅ID:1 状æ€<C3A6>å·²æ´æ°ï¼šå€Ÿé˜…å<E280A6>³å°†åˆ°æœŸ
短信å<EFBFBD>é€<EFBFBD>æˆ<EFBFBD>功!
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 s - in com.smartlibrary.observer.BookStatusManagerTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.181 s - in com.smartlibrary.observer.BookStatusManagerTest
[INFO] Running com.smartlibrary.factory.BookFactoryTest
创建期刊: 计算机学报
创建实体书: æµè¯•书ç±<C3A7>
创建实体书: Javaç¼ç¨æ€<C3A6>想
åˆå»ºç”µå­<EFBFBD>书: 设计模å¼<C3A5>
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.104 s - in com.smartlibrary.factory.BookFactoryTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.126 s - in com.smartlibrary.factory.BookFactoryTest
[INFO] Running com.smartlibrary.mock.MockDataTest
创建实体书: 测试实体书
åˆå»ºç”µå­<EFBFBD>书: æµè¯•电å­<C3A5>书
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 s - in com.smartlibrary.mock.MockDataTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 s - in com.smartlibrary.mock.MockDataTest
[INFO] Running com.smartlibrary.model.BookTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 s - in com.smartlibrary.model.BookTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 s - in com.smartlibrary.model.BookTest
[INFO] Running com.smartlibrary.model.LoanTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in com.smartlibrary.model.LoanTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in com.smartlibrary.model.LoanTest
[INFO] Running com.smartlibrary.notification.NotificationTest
正在å<EFBFBD>é€<EFBFBD>应用内通知...
应用å<EFBFBD><EFBFBD>ç§°: å¾ä¹¦é¦†ç®¡ç<C2A1>†ç³»ç»Ÿ
@ -385,7 +385,7 @@ SMTP服务器: smtp.example.com:587
借阅日期: 2025-11-27
应还日期: 2025-12-27
状æ€<EFBFBD>: 图书归还
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s - in com.smartlibrary.observer.ObserverTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 s - in com.smartlibrary.observer.ObserverTest
[INFO]
[INFO] Results:
[INFO]
@ -398,8 +398,8 @@ SMTP服务器: smtp.example.com:587
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.661 s
[INFO] Finished at: 2025-11-27T09:33:35+08:00
[INFO] Total time: 22.901 s
[INFO] Finished at: 2025-11-27T10:30:49+08:00
[INFO] ------------------------------------------------------------------------
[Pipeline] echo
✓ æµè¯•执行完æˆ<C3A6>
@ -444,42 +444,42 @@ E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS>mvn sonar:sonar -Dsonar.qu
[INFO] Default locale: "zh_CN", source code encoding: "UTF-8"
[WARNING] Property 'env.SONARQUBE_SCANNER_PARAMS' is encrypted. The encryption of scanner properties is deprecated and will soon be removed.
[INFO] Load global settings
[INFO] Load global settings (done) | time=355ms
[INFO] Load global settings (done) | time=304ms
[INFO] Server id: 147B411E-AZqM7Cb9i6TlQ4AbupxC
[INFO] Loading required plugins
[INFO] Load plugins index
[INFO] Load plugins index (done) | time=44ms
[INFO] Load plugins index (done) | time=61ms
[INFO] Load/download plugins
[INFO] Load/download plugins (done) | time=57ms
[INFO] Load/download plugins (done) | time=245ms
[INFO] Process project properties
[INFO] Process project properties (done) | time=115ms
[INFO] Process project properties (done) | time=138ms
[INFO] Project key: com.smartlibrary:slms
[INFO] Base dir: E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS
[INFO] Working dir: E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\sonar
[INFO] Load project settings for component key: 'com.smartlibrary:slms'
[INFO] Load project settings for component key: 'com.smartlibrary:slms' (done) | time=35ms
[INFO] Load project settings for component key: 'com.smartlibrary:slms' (done) | time=40ms
[INFO] Load quality profiles
[INFO] Load quality profiles (done) | time=208ms
[INFO] Load quality profiles (done) | time=220ms
[INFO] Auto-configuring with CI 'Jenkins'
[INFO] Load active rules
[INFO] Load active rules (done) | time=1119ms
[INFO] Load active rules (done) | time=1123ms
[INFO] Load analysis cache
[INFO] Load analysis cache (2.0 kB) | time=160ms
[INFO] Load analysis cache (2.0 kB) | time=164ms
[INFO] Preprocessing files...
[INFO] 2 languages detected in 45 preprocessed files (done) | time=240ms
[INFO] 2 languages detected in 45 preprocessed files (done) | time=220ms
[INFO] Loading plugins for detected languages
[INFO] Load/download plugins
[INFO] Load/download plugins (done) | time=20ms
[INFO] Load/download plugins (done) | time=79ms
[INFO] Load project repositories
[INFO] Load project repositories (done) | time=571ms
[INFO] Load project repositories (done) | time=524ms
[INFO] Indexing files...
[INFO] Project configuration:
[INFO] 45 files indexed (done) | time=107ms
[INFO] 45 files indexed (done) | time=87ms
[INFO] Quality profile for java: Sonar way
[INFO] Quality profile for xml: Sonar way
[INFO] ------------- Run sensors on module slms
[INFO] Load metrics repository
[INFO] Load metrics repository (done) | time=96ms
[INFO] Load metrics repository (done) | time=60ms
[INFO] Sensor JavaSensor [java]
[INFO] Configured Java source version (sonar.java.source): 11, preview features enabled (sonar.java.enablePreview): false
[INFO] Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
@ -495,26 +495,26 @@ E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS>mvn sonar:sonar -Dsonar.qu
[INFO] Batch processing: Done.
[INFO] Did not optimize analysis for any files, performed a full analysis for all 15 files.
[INFO] No "Generated" source files to scan.
[INFO] Sensor JavaSensor [java] (done) | time=21159ms
[INFO] Sensor JavaSensor [java] (done) | time=20253ms
[INFO] Sensor SurefireSensor [java]
[INFO] parsing [E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\surefire-reports]
[INFO] Sensor SurefireSensor [java] (done) | time=1199ms
[INFO] Sensor SurefireSensor [java] (done) | time=633ms
[INFO] Sensor XML Sensor [xml]
[INFO] 1 source file to be analyzed
[INFO] 1/1 source file has been analyzed
[INFO] Sensor XML Sensor [xml] (done) | time=1050ms
[INFO] Sensor XML Sensor [xml] (done) | time=919ms
[INFO] Sensor JaCoCo XML Report Importer [jacoco]
[INFO] 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
[INFO] Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list.
[INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=502ms
[INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=479ms
[INFO] Sensor IaC Docker Sensor [iac]
[INFO] There are no files to be analyzed for the Docker language
[INFO] Sensor IaC Docker Sensor [iac] (done) | time=7ms
[INFO] Sensor IaC hadolint report Sensor [iac]
[INFO] Sensor IaC hadolint report Sensor [iac] (done) | time=27ms
[INFO] Sensor IaC hadolint report Sensor [iac] (done) | time=23ms
[INFO] Sensor Java Config Sensor [iac]
[INFO] There are no files to be analyzed for the Java language
[INFO] Sensor Java Config Sensor [iac] (done) | time=91ms
[INFO] Sensor Java Config Sensor [iac] (done) | time=94ms
[INFO] Sensor TextAndSecretsSensor [text]
[INFO] Available processors: 20
[INFO] Using 20 threads for analysis.
@ -524,33 +524,33 @@ E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS>mvn sonar:sonar -Dsonar.qu
[INFO] Starting the text and secrets analysis
[INFO] 45 source files to be analyzed for the text and secrets analysis
[INFO] 45/45 source files have been analyzed for the text and secrets analysis
[INFO] Sensor TextAndSecretsSensor [text] (done) | time=3381ms
[INFO] Sensor TextAndSecretsSensor [text] (done) | time=3179ms
[INFO] ------------- Run sensors on project
[INFO] Sensor JavaProjectSensor [java]
[INFO] Sensor JavaProjectSensor [java] (done) | time=3ms
[INFO] Sensor JavaProjectSensor [java] (done) | time=6ms
[INFO] Sensor Zero Coverage Sensor
[INFO] Sensor Zero Coverage Sensor (done) | time=2ms
[INFO] Sensor Zero Coverage Sensor (done) | time=1ms
[INFO] Sensor Java CPD Block Indexer
[INFO] Sensor Java CPD Block Indexer (done) | time=209ms
[INFO] Sensor Java CPD Block Indexer (done) | time=214ms
[INFO] ------------- Gather SCA dependencies on project
[INFO] Dependency analysis skipped
[INFO] SCM Publisher is disabled
[INFO] CPD Executor 6 files had no CPD blocks
[INFO] CPD Executor Calculating CPD for 23 files
[INFO] CPD Executor CPD calculation finished (done) | time=203ms
[INFO] SCM revision ID '517a51e88677377c7e768e5e97ed6e92b2426d59'
[INFO] Analysis report generated in 973ms, dir size=730.2 kB
[INFO] Analysis report compressed in 3947ms, zip size=211.3 kB
[INFO] Analysis report uploaded in 135ms
[INFO] CPD Executor CPD calculation finished (done) | time=232ms
[INFO] SCM revision ID '207417f380641a39524a571a15046b782dc94e07'
[INFO] Analysis report generated in 933ms, dir size=730.2 kB
[INFO] Analysis report compressed in 4368ms, zip size=211.3 kB
[INFO] Analysis report uploaded in 147ms
[INFO] ------------- Check Quality Gate status
[INFO] Waiting for the analysis report to be processed (max 300s)
[INFO] QUALITY GATE STATUS: PASSED - View details on http://localhost:9000/dashboard?id=com.smartlibrary%3Aslms
[INFO] Analysis total time: 1:04.322 s
[INFO] Analysis total time: 58.565 s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:11 min
[INFO] Finished at: 2025-11-27T09:34:55+08:00
[INFO] Total time: 01:08 min
[INFO] Finished at: 2025-11-27T10:32:07+08:00
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // withSonarQubeEnv
@ -579,9 +579,9 @@ Timeout set to expire in 10 min
Injecting SonarQube environment variables using the configuration: SonarQube
[Pipeline] {
[Pipeline] waitForQualityGate
Checking status of SonarQube task '9b94c32d-38d9-4b68-ac0a-1a14aafabd2f' on server 'SonarQube'
SonarQube task '9b94c32d-38d9-4b68-ac0a-1a14aafabd2f' status is 'SUCCESS'
SonarQube task '9b94c32d-38d9-4b68-ac0a-1a14aafabd2f' completed. Quality gate is 'OK'
Checking status of SonarQube task '5def813f-d9ae-4000-88d4-2dd57892f462' on server 'SonarQube'
SonarQube task '5def813f-d9ae-4000-88d4-2dd57892f462' status is 'SUCCESS'
SonarQube task '5def813f-d9ae-4000-88d4-2dd57892f462' completed. Quality gate is 'OK'
[Pipeline] echo
✓ SLMS-Quality-Gate è´¨é‡<C3A9>é—¨ç¦<C3A7>检查通过: OK
[Pipeline] }
@ -694,7 +694,6 @@ E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS>echo
[GUI] 开始打�..
[Web] 开始打�..
打包 Android 应用...
Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reused, use --status for details
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.smartlibrary:slms >------------------------
@ -702,12 +701,12 @@ Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reus
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Scanning for projects...
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.smartlibrary:slms >------------------------
[INFO] Building slms 1.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.smartlibrary:slms >------------------------
[INFO] Building slms 1.0-SNAPSHOT
@ -725,26 +724,20 @@ Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reus
[INFO] argLine set to -javaagent:C:\\WINDOWS\\system32\\config\\systemprofile\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.10\\org.jacoco.agent-0.8.10-runtime.jar=destfile=E:\\2025-2026\\GitAIOps\\jenkins\\.jenkins\\workspace\\SLMS\\target\\jacoco.exec
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ slms ---
[INFO] Copying 7 resources from src\main\resources to target\classes
[INFO] Copying 1 resource from to target\classes
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ slms ---
[INFO] argLine set to -javaagent:C:\\WINDOWS\\system32\\config\\systemprofile\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.10\\org.jacoco.agent-0.8.10-runtime.jar=destfile=E:\\2025-2026\\GitAIOps\\jenkins\\.jenkins\\workspace\\SLMS\\target\\jacoco.exec
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ slms ---
[INFO] Copying 7 resources from src\main\resources to target\classes
[INFO] Copying 1 resource from to target\classes
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ slms ---
[INFO] Copying 7 resources from src\main\resources to target\classes
[INFO] Copying 7 resources from src\main\resources to target\classes
[INFO] Copying 1 resource from to target\classes
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ slms ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ slms ---
[INFO] skip non existing resourceDirectory E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\src\test\resources
[INFO] Copying 1 resource from to target\classes
[INFO]
[INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ slms ---
[INFO] --- compiler:3.8.1:compile (default-compile) @ slms ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ slms ---
@ -756,7 +749,10 @@ Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reus
[INFO] --- surefire:3.0.0-M7:test (default-test) @ slms ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- surefire:3.0.0-M7:test (default-test) @ slms ---
[INFO] --- resources:3.3.1:testResources (default-testResources) @ slms ---
[INFO] skip non existing resourceDirectory E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\src\test\resources
[INFO]
[INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ slms ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ slms ---
@ -766,6 +762,9 @@ Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reus
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- surefire:3.0.0-M7:test (default-test) @ slms ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- surefire:3.0.0-M7:test (default-test) @ slms ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- jacoco:0.8.10:report (report) @ slms ---
@ -773,11 +772,11 @@ Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reus
[INFO] Tests are skipped.
[INFO]
[INFO] --- jacoco:0.8.10:report (report) @ slms ---
[INFO] Loading execution data file E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\jacoco.exec
[INFO] Tests are skipped.
[INFO]
[INFO] --- jacoco:0.8.10:report (report) @ slms ---
[INFO] Loading execution data file E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\jacoco.exec
[INFO] Loading execution data file E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\jacoco.exec
[INFO] Analyzed bundle 'slms' with 31 classes
[INFO] Analyzed bundle 'slms' with 31 classes
[INFO] Analyzed bundle 'slms' with 31 classes
@ -788,14 +787,11 @@ Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reus
[INFO]
[INFO] --- jar:3.3.0:jar (default-jar) @ slms ---
[INFO] Building jar: E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\slms-1.0-SNAPSHOT.jar
[INFO] Building jar: E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\slms-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- shade:3.5.0:shade (default) @ slms ---
[INFO] Building jar: E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\slms-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- shade:3.5.0:shade (default) @ slms ---
[INFO] Packaging webapp
[INFO] Assembling webapp [slms] in [E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\slms-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Including org.xerial:sqlite-jdbc:jar:3.36.0.3 in the shaded jar.
[INFO] Including org.slf4j:slf4j-api:jar:1.7.32 in the shaded jar.
[INFO] Including org.springframework.boot:spring-boot-starter-web:jar:2.7.5 in the shaded jar.
@ -890,24 +886,10 @@ Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reus
[INFO] Including org.openjfx:javafx-base:jar:win:17 in the shaded jar.
[INFO] Including org.openjfx:javafx-fxml:jar:17 in the shaded jar.
[INFO] Including org.openjfx:javafx-fxml:jar:win:17 in the shaded jar.
[INFO] Packaging webapp
[INFO] Assembling webapp [slms] in [E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\slms-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Building war: E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target\slms-1.0-SNAPSHOT.war
[INFO]
[INFO] --- spring-boot:2.7.5:repackage (default) @ slms ---
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.578 s
[INFO] Finished at: 2025-11-27T09:35:20+08:00
[INFO] ------------------------------------------------------------------------
[Pipeline] echo
✓ Web WAR 打包æˆ<C3A6>功
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
@ -915,19 +897,19 @@ Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reus
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[INFO]
[INFO] --- spring-boot:2.7.5:repackage (default) @ slms ---
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
> Configure project :android
WARNING: The option setting 'android.overridePathCheck=true' is experimental.
The current default is 'false'.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] spring-aop-5.3.23.jar, spring-beans-5.3.23.jar, spring-context-5.3.23.jar, spring-core-5.3.23.jar, spring-expression-5.3.23.jar, spring-jcl-5.3.23.jar, spring-web-5.3.23.jar, spring-webmvc-5.3.23.jar define 2 overlapping resources:
[WARNING] - META-INF/license.txt
[WARNING] - META-INF/notice.txt
[WARNING] spring-beans-5.3.23.jar, spring-boot-2.7.5.jar, spring-boot-autoconfigure-2.7.5.jar define 1 overlapping resource:
[WARNING] - META-INF/spring.factories
[WARNING] spring-web-5.3.23.jar, tomcat-embed-el-9.0.68.jar, tomcat-embed-websocket-9.0.68.jar define 1 overlapping resource:
[WARNING] - META-INF/web-fragment.xml
[WARNING] spring-boot-2.7.5.jar, spring-boot-autoconfigure-2.7.5.jar define 2 overlapping resources:
@ -942,7 +924,9 @@ The current default is 'false'.
[WARNING] - META-INF/NOTICE
[WARNING] jackson-annotations-2.13.4.jar, jackson-core-2.13.4.jar, jackson-databind-2.13.4.2.jar, jackson-datatype-jsr310-2.13.4.jar, log4j-api-2.17.2.jar, log4j-to-slf4j-2.17.2.jar, tomcat-embed-core-9.0.68.jar, tomcat-embed-el-9.0.68.jar, tomcat-embed-websocket-9.0.68.jar define 1 overlapping resource:
[WARNING] - META-INF/LICENSE
[WARNING] spring-aop-5.3.23.jar, spring-beans-5.3.23.jar, spring-context-5.3.23.jar, spring-webmvc-5.3.23.jar define 1 overlapping resource:
[WARNING] spring-aop-5.3.23.jar, spring-beans-5.3.23.jar, spring-context-5.3.23.jar, spring-webmvc-5.3.23.jar define 3 overlapping resources:
[WARNING] - META-INF/spring.handlers
[WARNING] - META-INF/spring.schemas
[WARNING] - META-INF/spring.tooling
[WARNING] javafx-controls-17-win.jar, javafx-graphics-17-win.jar define 3 overlapping resources:
[WARNING] - META-INF/substrate/config/reflectionconfig-aarch64-android.json
@ -965,16 +949,15 @@ The current default is 'false'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.350 s
[INFO] Finished at: 2025-11-27T09:35:28+08:00
[INFO] Total time: 23.336 s
[INFO] Finished at: 2025-11-27T10:32:41+08:00
[INFO] ------------------------------------------------------------------------
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] spring-aop-5.3.23.jar, spring-beans-5.3.23.jar, spring-context-5.3.23.jar, spring-core-5.3.23.jar, spring-expression-5.3.23.jar, spring-jcl-5.3.23.jar, spring-web-5.3.23.jar, spring-webmvc-5.3.23.jar define 2 overlapping resources:
[WARNING] - META-INF/license.txt
[WARNING] - META-INF/notice.txt
[WARNING] spring-beans-5.3.23.jar, spring-boot-2.7.5.jar, spring-boot-autoconfigure-2.7.5.jar define 1 overlapping resource:
[WARNING] - META-INF/spring.factories
[WARNING] spring-web-5.3.23.jar, tomcat-embed-el-9.0.68.jar, tomcat-embed-websocket-9.0.68.jar define 1 overlapping resource:
[WARNING] - META-INF/web-fragment.xml
[WARNING] spring-boot-2.7.5.jar, spring-boot-autoconfigure-2.7.5.jar define 2 overlapping resources:
@ -989,9 +972,7 @@ The current default is 'false'.
[WARNING] - META-INF/NOTICE
[WARNING] jackson-annotations-2.13.4.jar, jackson-core-2.13.4.jar, jackson-databind-2.13.4.2.jar, jackson-datatype-jsr310-2.13.4.jar, log4j-api-2.17.2.jar, log4j-to-slf4j-2.17.2.jar, tomcat-embed-core-9.0.68.jar, tomcat-embed-el-9.0.68.jar, tomcat-embed-websocket-9.0.68.jar define 1 overlapping resource:
[WARNING] - META-INF/LICENSE
[WARNING] spring-aop-5.3.23.jar, spring-beans-5.3.23.jar, spring-context-5.3.23.jar, spring-webmvc-5.3.23.jar define 3 overlapping resources:
[WARNING] - META-INF/spring.handlers
[WARNING] - META-INF/spring.schemas
[WARNING] spring-aop-5.3.23.jar, spring-beans-5.3.23.jar, spring-context-5.3.23.jar, spring-webmvc-5.3.23.jar define 1 overlapping resource:
[WARNING] - META-INF/spring.tooling
[WARNING] javafx-controls-17-win.jar, javafx-graphics-17-win.jar define 3 overlapping resources:
[WARNING] - META-INF/substrate/config/reflectionconfig-aarch64-android.json
@ -1014,23 +995,42 @@ The current default is 'false'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.206 s
[INFO] Finished at: 2025-11-27T09:35:28+08:00
[INFO] Total time: 23.397 s
[INFO] Finished at: 2025-11-27T10:32:41+08:00
[INFO] ------------------------------------------------------------------------
[Pipeline] echo
✓ GUI Swing JAR 打包æˆ<C3A6>功
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] echo
✓ CLI JAR 打包æˆ<C3A6>功
[Pipeline] }
[Pipeline] // stage
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reused, use --status for details
[INFO] Replacing main artifact with repackaged archive
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.271 s
[INFO] Finished at: 2025-11-27T10:32:45+08:00
[INFO] ------------------------------------------------------------------------
[Pipeline] echo
✓ CLI JAR 打包æˆ<C3A6>功
✓ Web WAR 打包æˆ<C3A6>功
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
> Configure project :android
WARNING: The option setting 'android.overridePathCheck=true' is experimental.
The current default is 'false'.
Warning: SDK processing. This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
> Task :android:preBuild UP-TO-DATE
@ -1042,11 +1042,11 @@ Warning: SDK processing. This version only understands SDK XML versions up to 3
> Task :android:generateDebugResources
> Task :android:packageDebugResources
> Task :android:parseDebugLocalResources
> Task :android:mergeDebugResources
> Task :android:mapDebugSourceSetPaths
> Task :android:checkDebugAarMetadata
> Task :android:createDebugCompatibleScreenManifests
> Task :android:extractDeepLinksDebug
> Task :android:mergeDebugResources
> Task :android:checkDebugAarMetadata
> Task :android:processDebugMainManifest
> Task :android:dataBindingGenBaseClassesDebug
> Task :android:processDebugManifest
@ -1058,25 +1058,25 @@ Warning: SDK processing. This version only understands SDK XML versions up to 3
> Task :android:compressDebugAssets
> Task :android:desugarDebugFileDependencies
> Task :android:mergeDebugJniLibFolders
> Task :android:checkDebugDuplicateClasses
> Task :android:mergeDebugNativeLibs
> Task :android:validateSigningDebug
> Task :android:processDebugManifestForPackage
> Task :android:mergeLibDexDebug
> Task :android:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libimage_processing_util_jni.so.
> Task :android:validateSigningDebug
> Task :android:writeDebugAppMetadata
> Task :android:writeDebugSigningConfigVersions
> Task :android:checkDebugDuplicateClasses
> Task :android:mergeLibDexDebug
> Task :android:processDebugResources
> Task :android:compileDebugKotlin NO-SOURCE
> Task :android:mergeExtDexDebug
> Task :android:compileDebugJavaWithJavac
×¢: ijЩÊäÈëÎļþʹÓûò¸²¸ÇÁËÒѹýʱµÄ API¡£
×¢: ÓйØÏêϸÐÅÏ¢, ÇëʹÓà -Xlint:deprecation ÖØÐ±àÒë¡£
> Task :android:mergeExtDexDebug
> Task :android:dexBuilderDebug
> Task :android:processDebugJavaRes NO-SOURCE
> Task :android:mergeDebugGlobalSynthetics
@ -1092,7 +1092,7 @@ You can use '--warning-mode all' to show the individual deprecation warnings and
For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 2m 3s
BUILD SUCCESSFUL in 4m 19s
37 actionable tasks: 37 executed
列出 APK 目录:
Çý¶¯Æ÷ E ÖеľíÊÇ ¹éµµ
@ -1100,9 +1100,9 @@ BUILD SUCCESSFUL in 2m 3s
E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\android\build\outputs\apk\debug µÄĿ¼
2025/11/27 09:37 15,439,118 SLMS-debug.apk
2025/11/27 10:36 15,439,118 SLMS-debug.apk
1 ¸öÎļþ 15,439,118 ×Ö½Ú
0 ¸öĿ¼ 114,780,000,256 ¿ÉÓÃ×Ö½Ú
0 ¸öĿ¼ 114,747,637,760 ¿ÉÓÃ×Ö½Ú
�找到 SLMS-debug.apk
âœ?Android APK 打包完æˆ<C3A6>: slms-debug.apk
[Pipeline] echo
@ -1262,13 +1262,13 @@ E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS
E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\target µÄĿ¼
2025/11/27 09:35 37,997,894 slms-1.0-SNAPSHOT-cli-shaded.jar
2025/11/27 09:35 37,996,654 slms-1.0-SNAPSHOT-gui-swing.jar
2025/11/27 09:35 107,026 slms-1.0-SNAPSHOT.jar
2025/11/27 09:35 37,997,894 slms-cli.jar
2025/11/27 09:35 37,996,654 slms-gui.jar
2025/11/27 10:32 37,997,894 slms-1.0-SNAPSHOT-cli-shaded.jar
2025/11/27 10:32 37,996,654 slms-1.0-SNAPSHOT-gui-swing.jar
2025/11/27 10:32 107,026 slms-1.0-SNAPSHOT.jar
2025/11/27 10:32 37,997,894 slms-cli.jar
2025/11/27 10:32 37,996,654 slms-gui.jar
5 ¸öÎļþ 152,096,122 ×Ö½Ú
0 ¸öĿ¼ 114,250,076,160 ¿ÉÓÃ×Ö½Ú
0 ¸öĿ¼ 114,217,783,296 ¿ÉÓÃ×Ö½Ú
列出 android/build/outputs/apk/debug 目录:
Çý¶¯Æ÷ E ÖеľíÊÇ ¹éµµ
@ -1276,9 +1276,9 @@ E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS
E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS\android\build\outputs\apk\debug µÄĿ¼
2025/11/27 09:37 15,439,118 SLMS-debug.apk
2025/11/27 10:36 15,439,118 SLMS-debug.apk
1 ¸öÎļþ 15,439,118 ×Ö½Ú
0 ¸öĿ¼ 114,250,072,064 ¿ÉÓÃ×Ö½Ú
0 ¸öĿ¼ 114,217,779,200 ¿ÉÓÃ×Ö½Ú
[Pipeline] bat
检查制å“<EFBFBD>æ‡ä»?..
@ -1352,10 +1352,10 @@ Stashed 15 file(s)
[Pipeline] script
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of %EDUCODER_PASS%
[Pipeline] echo
æ<EFBFBD>¢å¤<EFBFBD>制å“<EFBFBD>从 stash...
[Pipeline] unstash
Masking supported pattern matches of %EDUCODER_PASS%
[Pipeline] {
[Pipeline] bat
Already a complete repository
@ -1368,7 +1368,7 @@ Masking supported pattern matches of %EDUCODER_PASS%
remote: . Processing 1 references
remote: Processed 1 references in total
To https://bdgit.educoder.net/pu6zrsfoy/slms.git
f42d026..517a51e HEAD -> main
517a51e..207417f HEAD -> main
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] echo
@ -1432,7 +1432,7 @@ E:\2025-2026\GitAIOps\jenkins\.jenkins\workspace\SLMS
[Pipeline] echo
========== å<>é€<C3A9>é®ä»¶é€šçŸ¥ ==========
[Pipeline] echo
准备å<EFBFBD>é€<EFBFBD>é®ä»¶: âš ï¸<C3AF> SLMS 构建ä¸<C3A4>稳定 - Build #132
准备å<EFBFBD>é€<EFBFBD>é®ä»¶: âš ï¸<C3AF> SLMS 构建ä¸<C3A4>稳定 - Build #133
[Pipeline] echo
收件人: 602924803@qq.com
[Pipeline] emailext
@ -1440,7 +1440,7 @@ Sending email to: 602924803@qq.com
[Pipeline] echo
✓ é®ä»¶å·²å<C2B2>é€<C3A9>到: 602924803@qq.com
[Pipeline] echo
✓ 邮件主题: âš ï¸<C3AF> SLMS 构建ä¸<C3A4>稳定 - Build #132
✓ 邮件主题: âš ï¸<C3AF> SLMS 构建ä¸<C3A4>稳定 - Build #133
[Pipeline] }
[Pipeline] // script
[Pipeline] }
Loading…
Cancel
Save