fix: update deploy port 15020

This commit is contained in:
conny890 2025-06-24 14:49:46 +08:00
parent 0d7a080dc4
commit 70bae76061

8
Jenkinsfile vendored
View File

@ -247,9 +247,9 @@ EOF
// 等待应用启动 // 等待应用启动
sleep(time: 30, unit: 'SECONDS') sleep(time: 30, unit: 'SECONDS')
def deployPort = '8080' def deployPort = '15020'
if (env.BRANCH_NAME == 'develop' || env.BRANCH_NAME?.startsWith('feature/')) { if (env.BRANCH_NAME == 'develop' || env.BRANCH_NAME?.startsWith('feature/')) {
deployPort = '8081' deployPort = '15021'
} }
try { try {
@ -309,9 +309,9 @@ EOF
script { script {
echo '✅ 流水线执行成功!' echo '✅ 流水线执行成功!'
def deployPort = '8080' def deployPort = '15020'
if (env.BRANCH_NAME == 'develop' || env.BRANCH_NAME?.startsWith('feature/')) { if (env.BRANCH_NAME == 'develop' || env.BRANCH_NAME?.startsWith('feature/')) {
deployPort = '8081' deployPort = '15021'
} }
def message = """ def message = """