From af95c8acac0c58de7b87a76e69c573e5de567837 Mon Sep 17 00:00:00 2001 From: conny890 <1220204125@zust.edu.cn> Date: Tue, 24 Jun 2025 11:13:04 +0800 Subject: [PATCH] fix: deployPort:15020,15021 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 98a4983..05f45b5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -182,12 +182,12 @@ pipeline { echo '🚀 部署应用到服务器...' script { // 根据分支决定部署端口和配置 - def deployPort = '8080' + def deployPort = '15020' def containerName = 'jenkins-demo' def springProfile = 'prod' if (env.BRANCH_NAME == 'develop' || env.BRANCH_NAME?.startsWith('feature/')) { - deployPort = '8081' // 测试环境使用不同端口 + deployPort = '15021' // 测试环境使用不同端口 containerName = 'jenkins-demo-test' springProfile = 'test' }