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' }