3. jenkins 佈署設定 - lyonwang/TechNotes GitHub Wiki

參考專案列表: 在 RD-DEV 標籤(View) 中

名稱 說明
rd-dept-front-end 前端網站
rd-dept-service-member Member Service API:會員 API
rd-dept-service-billing Billing Service API:帳務 API
rd-dept-service-mail Mail Service API: Email API
rd-dept-service-sms SMS Service API: 短訊 API
rd-dept-service-brand Brand Service API: 品牌 API
rd-dept-service-payment Payment Service API: 短訊 API
rd-dept-game-ag Game AG API: AG 遊戲 包含內部與外部 API

各服務專案設定說明

新增 Jenkins 專案

image

image

Frontend Web 請參考 rd-dept-front-end 專案進行設定

其餘 Service API 部分,請參考 rd-dept-service-member 專案進行設定

差異部分如下圖:

image

  • /p:Configuration=Debug 改為 /p:Configuration=QA
  • Dev.pubxml 改為 QA.pubxml

前端 Jenkins QA 環境設定

將下圖中

image

npm run build

改為

npm run qat

前端佈署 server 注意變更為對應環境 Server IP

image