develop #2

Merged
jenkins merged 49 commits from develop into main 2026-04-08 19:55:46 +08:00
Showing only changes of commit 92df794cc8 - Show all commits
+5 -5
View File
@@ -101,7 +101,7 @@ async function globalSetup(config: FullConfig) {
backendArgs = [
'-jar',
jarFile,
'--spring.profiles.active=test',
'--spring.profiles.active=dev',
'-Xms256m',
'-Xmx512m'
];
@@ -109,7 +109,7 @@ async function globalSetup(config: FullConfig) {
console.log('📦 使用Maven启动后端服务...');
console.log(' 提示: 运行 "mvn clean package -DskipTests" 构建JAR文件以获得更快的启动速度');
backendCommand = 'mvn';
backendArgs = ['spring-boot:run', '-Dspring-boot.run.profiles=test'];
backendArgs = ['spring-boot:run', '-Dspring-boot.run.profiles=dev'];
}
console.log(` 目录: ${backendDir}`);
@@ -167,7 +167,7 @@ async function globalSetup(config: FullConfig) {
gatewayArgs = [
'-jar',
gatewayJarFile,
'--spring.profiles.active=test',
'--spring.profiles.active=dev',
'-Xms128m',
'-Xmx256m'
];
@@ -175,7 +175,7 @@ async function globalSetup(config: FullConfig) {
console.log('🚪 使用Maven启动网关服务...');
console.log(' 提示: 运行 "mvn clean package -DskipTests" 构建JAR文件以获得更快的启动速度');
gatewayCommand = 'mvn';
gatewayArgs = ['spring-boot:run', '-Dspring-boot.run.profiles=test'];
gatewayArgs = ['spring-boot:run', '-Dspring-boot.run.profiles=dev'];
}
console.log(` 目录: ${gatewayDir}`);
@@ -186,7 +186,7 @@ async function globalSetup(config: FullConfig) {
stdio: 'pipe',
shell: true,
detached: false,
env: { ...process.env, SPRING_PROFILES_ACTIVE: 'test' }
env: { ...process.env, SPRING_PROFILES_ACTIVE: 'dev' }
});
if (gatewayProcess.stdout) {