替代方案
TeamCity 替代方案
TeamCity 提供功能完善的 CI 伺服器,並有免費的地端方案。當維運伺服器與代理程式,或其授權限制的成本開始超過建置本身時,團隊就會開始尋找替代方案。
更新日期
CRACI 是我們的產品,請將這一點納入考量;我們依據各選項自己的文件來描述它們,並在其他工具更合適時明確說明。
團隊為何尋找 TeamCity 以外的選擇
TeamCity 是 JetBrains 的 CI/CD 平台,提供 TeamCity Cloud 與 TeamCity On-Premises 兩種形式。截至 2026 年 9 月,On-Premises Professional 永久免費,提供 3 個建置代理程式與 100 個建置設定;Enterprise 每年約 $2,783 (€2,399),建置設定數量不限;Cloud 每位 committer 每月約 $17 (€15),含 24,000 個建置點數。
當情況改變時,團隊就會另尋他法:
- 維運。On-Premises 代表您必須自行安裝、升級並確保伺服器與代理程式的安全。
- 限制。Professional 包含 3 個建置代理程式與 100 個建置設定;需要更多就得改用 Enterprise 或加購代理程式。
- 建置佐證資料。我們在 TeamCity 的公開頁面中找不到建置 SBOM 或來源證明。
- 整合。程式碼放在 GitHub 上,而 GitHub Actions 早已在那裡。
評估重點
- 作業在哪裡執行:託管環境、您自己的機器,或兩者皆可。
- 支援哪些原始碼控管系統,以及您的程式碼是否必須搬移。
- 您仍須自行維運的項目:伺服器、代理程式、升級與外掛。
- 您需要的作業系統,包括 Windows 與 macOS。
- 建置佐證資料:SBOM、來源證明,以及每個作業擷取內容的紀錄。
- 對外連線控管,以及它是作業層級的政策,還是需要您自行維護的網路設定。
可選方案
1. CRACI 搭配 GitHub Actions(我們的產品)
CRACI 是 GitHub Actions 的安全執行器:您將管線移轉為 GitHub Actions 工作流程,並在 CRACI 上執行。在每個作業執行時,具套件感知能力的代理伺服器會記錄它取得的內容(包括從 CI 快取還原的套件),並產生 CycloneDX 或 SPDX 格式的 SBOM,附有每個作業與每個快取的完整度狀態。對外連線(egress)政策會在作業開始前驗證,並採失效即封鎖(fail closed);政策關卡可依發現結果阻擋建置;API 則會傳回 SBOM、網路追蹤與來源證明。CRACI 的資產清冊檢視會精確顯示哪些軟體版本部署到全球哪些產品中。沒有需要維運的控制器或代理程式。
最適合: 正在移轉到 GitHub Actions、交付軟體並須說明每個版本包含什麼的團隊。
適合考慮的情況: 您的程式碼在 GitHub 上,或可以移到 GitHub。CRACI 目前執行 Linux 作業;Windows、macOS、GitLab CI、Jenkins 與客戶自行託管的執行器已列入產品藍圖。
2. GitHub Actions
內建於 GitHub 的 CI/CD,提供 Linux、Windows 與 macOS 託管執行器,以及可在您自己機器上執行的自架執行器。各方案每月包含 2,000 到 50,000 分鐘,截至 2026 年 9 月,標準 2 核心 Linux 執行器每分鐘 $0.006。周邊還有相依關係圖、Dependabot 與 artifact attestations。
最適合: 已經放在 GitHub 上的程式碼。
適合考慮的情況: 您希望在每種作業系統上都有託管執行器。它匯出的 SBOM 描述的是儲存庫,而非建置。
3. GitLab CI
完整 DevSecOps 平台的一部分:原始碼控管、merge request、規劃與 CI/CD 整合在單一產品中,可選擇託管或自行管理。基本的 SAST、機密偵測與容器掃描在所有層級皆可執行;Ultimate 另加入相依套件掃描與漏洞報告。截至 2026 年 9 月,Free 包含 400 運算分鐘,Premium 每位使用者每月 $29,按年計費。
最適合: 由單一廠商涵蓋整個生命週期,包括自行管理的安裝。
適合考慮的情況: 您也願意移轉原始碼控管。
4. CircleCI
成熟的託管 CI/CD 平台,可連接 GitHub、GitLab 與 Bitbucket。它在 Docker、Linux、Arm、Windows、macOS 與 GPU 資源類別上執行作業,並提供可在您自己機器上執行的自架執行器。所有方案都提供 Docker layer 快取,測試拆分則會將測試套件分散到平行執行環境。截至 2026 年 9 月,Free 方案每月包含 30,000 credits。
最適合: 混合平台與大型測試套件,且不需移轉原始碼控管。
適合考慮的情況: 您不介意透過 orb 加入 SBOM 與掃描。
5. Buildkite
混合式平台:Buildkite 的 SaaS 控制平面負責調度,執行作業的代理程式則位於您自己的基礎架構上,因此原始碼與機密都留在您的環境中。它支援 GitHub、GitLab、Bitbucket 等平台。也提供託管代理程式,截至 2026 年 9 月,Linux 上每 vCPU 分鐘 $0.004;簽章管線則讓代理程式能拒絕上傳後遭修改的作業。
最適合: 必須在您自己的硬體上執行、但不想維運整個平台的建置。
適合考慮的情況: 您已準備好在自己的代理程式上自行設計建置安全。
6. Azure Pipelines
Azure DevOps 的 CI/CD 部分。它可在 Linux、macOS 與 Windows 上建置,支援 Azure Repos 與 GitHub,並可部署到虛擬機器、容器、地端與雲端目標。截至 2026 年 9 月,一個每月 1,800 分鐘的 Microsoft 託管平行作業免費,每增加一個託管作業每月 $40;一個自架作業免費,每增加一個每月 $15。
最適合: 已在使用 Azure 與 Microsoft 工具的團隊。
7. Jenkins
開源的自動化伺服器,採 MIT 授權,擁有數百個外掛。您需要自行託管控制器與代理程式,並負責升級與安全防護。透過外掛,它可支援大多數原始碼控管系統。
最適合: 在自己的基礎架構上擁有完全控制權(前提是您有人力維運)。
8. Travis CI
託管 CI 服務,可連接 GitHub、Bitbucket、GitLab 與 Assembla,提供 amd64 與 arm64 上的 Linux、macOS 與 Windows 建置環境,另有適用於地端或私有雲的 Travis CI Server。它可透過 CycloneDX 外掛與 Syft,從觸發建置的原始碼產生 SBOM。截至 2026 年 9 月,Usage 方案每月 $15 起,含 35,000 Linux 建置 credits;Unlimited 每月 $78 起。
最適合: 橫跨多個原始碼控管平台、以設定檔驅動的簡單建置。
9. Bitbucket Pipelines
內建於 Bitbucket Cloud 的 CI/CD。截至 2026 年 9 月,Bitbucket 最多 5 位使用者免費,含 50 建置分鐘;Standard 每位使用者每月 $3.65,Premium $7.25;額外 1,000 分鐘費用為 $10。自架執行器可在 Linux、Windows 與 macOS 上執行,其建置分鐘數不收費。
最適合: 程式碼與規劃都已在 Atlassian 工具中的團隊。
並列比較
| 功能 | CRACI | GitHub Actions | GitLab CI | CircleCI | Buildkite | Azure Pipelines | Jenkins | Travis CI | Bitbucket Pipelines | TeamCity |
|---|---|---|---|---|---|---|---|---|---|---|
| What it is | A secure runner for GitHub Actions | CI/CD built into GitHub | CI/CD in the GitLab platform | Hosted CI/CD | Hybrid CI with agents you host | CI/CD in Azure DevOps | Open source automation server you host | Hosted CI, or Server on-premises | CI/CD in Bitbucket Cloud | JetBrains CI, cloud or on-premises |
| Source control | GitHub | GitHub | GitLab | GitHub, GitLab, Bitbucket | GitHub, GitLab, Bitbucket and more | Azure Repos, GitHub and more | Most, through plugins | GitHub, Bitbucket, GitLab, Assembla | Bitbucket | Not stated |
| Dependencies recorded from the build | Observed fetches, caches included | Build data for Maven, Gradle, Python | Reads lockfiles | Not stated | Plugins you add | SBOM from source code | Not stated | Not stated | ||
| SBOM export | CycloneDX, SPDX per job | SPDX of the repository graph | CycloneDX reports | Via orbs you add | Tools on your agents | Not stated | Plugins you add | CycloneDX plugins and Syft | Not stated | Not stated |
| Build provenance | Provenance data via the API; not signed | SLSA Build L2 or L3 | SLSA 1.0 statement | Not stated | SLSA L1, Enterprise | Not stated | Plugins you add | Not stated | Not stated | Not stated |
| Build egress policy | Per job, fails closed | Azure networking, larger runners | Yours, on own runners | IP ranges for allowlisting | Yours, on own agents | Yours, on self-hosted agents | Yours, on your agents | Not stated | Yours, on self-hosted runners | Yours, on your agents |
| Windows and macOS | Linux only today | Hosted in beta | Any agent you run | Self-hosted runners | Not stated | |||||
| Runs on your own machines | Customer-hosted runners, Enterprise | Core model | Self-hosted agents | The only option | Travis CI Server | Runners, no minute charge | On-Premises | |||
| Starting price | $0.004 per 2 vCPU minute, no monthly fee | 2,000 to 50,000 minutes by plan | Free, 400 minutes; Premium $29 per user | Free, 30,000 credits; from $15 per month | Free plan; Pro $30 per active user | 1 free hosted job, 1,800 minutes; $40 per extra job | Free (MIT); you pay for the machines | $15 per month, 35,000 Linux credits | Free for 5 users, 50 minutes; Standard $3.65 per user | On-Premises Professional free; Cloud about $17 (€15) per committer |
- 支援
- 部分支援
- 不支援
- 已列入產品藍圖
「未說明」表示我們無法在該廠商的公開頁面中確認。
何時繼續使用 TeamCity
- 免費的 On-Premises Professional 方案足以應付您的建置。
- 建置必須在您自己的伺服器上執行,而且您有人力維運。
- 您的建置設定相當深入且運作良好。
- 您可以混合使用:選擇是以管線為單位,因此部分建置可以搬移,其餘維持原狀。
進一步了解 CI/CD 整合、建置時 SBOM 產生與價格方案。
TeamCity 替代方案常見問題
團隊在比較時常問的問題,簡要解答
TeamCity 是免費的嗎?
TeamCity On-Premises Professional 是免費的。截至 2026 年 9 月,它永久免費,提供 3 個建置代理程式與 100 個建置設定。Enterprise 每年約 $2,783 (€2,399),建置設定數量不限;TeamCity Cloud 每位 committer 每月約 $17 (€15),含 24,000 個建置點數。
TeamCity Cloud 與 On-Premises 有什麼不同?
差別在於由誰維運伺服器。TeamCity Cloud 是託管版本,依 committer 人數計價。On-Premises 則是由您自行安裝、升級並確保安全的伺服器與代理程式,並提供免費的 Professional 方案。
TeamCity 能產生 SBOM 嗎?
我們在 TeamCity 的公開頁面中找不到建置 SBOM 或來源證明(provenance)。在替代方案中,GitLab CI 可產生 CycloneDX 報告,Travis CI 可從原始碼產生 SBOM,而 CRACI 會為每個作業擷取的內容記錄 CycloneDX 或 SPDX 格式的 SBOM。
哪些 TeamCity 替代方案可以在我自己的伺服器上執行?
Jenkins 只能在您自己的機器上執行,Travis CI Server 可安裝於地端或私有雲,Buildkite 則在您的基礎架構上執行其代理程式。GitHub Actions、GitLab CI、CircleCI、Azure Pipelines 與 Bitbucket Pipelines 都可使用自架執行器或代理程式。
CRACI 是什麼?它能與 TeamCity 搭配使用嗎?
CRACI 是適用於 GitHub Actions 的安全執行器。每個作業都會取得一份其所擷取內容的 SBOM,以及失效即封鎖(fail closed)的對外連線(egress)政策。CRACI 無法與 TeamCity 搭配使用:CRACI 目前支援 GitHub Actions,GitLab CI 與 Jenkins 已列入產品藍圖。