---
# System prepended metadata

title: Azure Pipeline CICD SPEC

---

# Azure Pipeline CICD SPEC

CICD操作說明書

version: 0.1

## Change log

| Date      | Version | Description  | Author     | Comment |
| --------- | ------- | ------------ | ---------- | ------- |
| 2023/02/07 | 0.1     | init version | Alan Huang |         |

## Trigger method

1. 產生正確的分支名稱並進行推版, pipeline自動包版上去Apple Store Connect
- Merge branch:
  - cicd-staging/*
  - cicd-prod/*
  - cicd-store/*
 
| Branch | *名稱 | 說明 | 範例 | 
| ------ | -------- | -------- | ---- | 
| cicd-staging/* | 任意 | staging包版 | cicd-staing/alan |
| cicd-prod/* | 任意 | bst包版 | cicd-prod/chris |
| cicd-store/* | 任意 | store包版 | cicd-store/shan |


2. commit修改內容時, 加上'(scan)'的字串, pipeline會產生sonarqube report
- Commit message:
  - (scan)

| Message | *名稱 | 說明 | 範例 | 
| ------ | -------- | -------- | ---- | 
| *(scan) | 任意 | code scan | 更改上線版本號 (scan) |


