Need advice about which tool to choose?Ask the StackShare community!
Bazel vs TeamCity: What are the differences?
Developers describe Bazel as "Correct, reproducible, fast builds for everyone". Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment. On the other hand, TeamCity is detailed as "TeamCity is an ultimate Continuous Integration tool for professionals". TeamCity is a user-friendly continuous integration (CI) server for professional developers, build engineers, and DevOps. It is trivial to setup and absolutely free for small teams and open source projects.
Bazel can be classified as a tool in the "Java Build Tools" category, while TeamCity is grouped under "Continuous Integration".
Some of the features offered by Bazel are:
- Multi-language support: Bazel supports Java, Objective-C and C++ out of the box, and can be extended to support arbitrary programming languages.
- High-level build language: Projects are described in the BUILD language, a concise text format that describes a project as sets of small interconnected libraries, binaries and tests. By contrast, with tools like Make you have to describe individual files and compiler invocations.
- Multi-platform support: The same tool and the same BUILD files can be used to build software for different architectures, and even different platforms. At Google, we use Bazel to build both server applications running on systems in our data centers and client apps running on mobile phones.
On the other hand, TeamCity provides the following key features:
- Automate code analyzing, compiling, and testing processes, with having instant feedback on build progress, problems, and test failures, all in a simple, intuitive web-interface
- Simplified setup: create projects from just a VCS repository URL
- Run multiple builds and tests under different configurations and platforms simultaneously
"Fast" is the top reason why over 18 developers like Bazel, while over 52 developers mention "Easy to configure" as the leading cause for choosing TeamCity.
Bazel is an open source tool with 12.4K GitHub stars and 2.02K GitHub forks. Here's a link to Bazel's open source repository on GitHub.
According to the StackShare community, TeamCity has a broader approval, being mentioned in 171 company stacks & 51 developers stacks; compared to Bazel, which is listed in 11 company stacks and 7 developer stacks.
Pros of Bazel
- Fast28
- Deterministic incremental builds20
- Correct17
- Multi-language16
- Enforces declared inputs/outputs14
- High-level build language10
- Scalable9
- Multi-platform support5
- Sandboxing5
- Dependency management4
- Windows Support2
- Flexible2
- Android Studio integration1
Pros of TeamCity
- Easy to configure61
- Reliable and high-quality37
- User friendly32
- On premise32
- Github integration32
- Great UI18
- Smart16
- Free for open source12
- Can run jobs in parallel12
- Crossplatform8
- Chain dependencies5
- Fully-functional out of the box5
- Great support by jetbrains4
- REST API4
- Projects hierarchy4
- 100+ plugins4
- Personal notifications3
- Free for small teams3
- Build templates3
- Per-project permissions3
- Upload build artifacts2
- Smart build failure analysis and tracking2
- Ide plugins2
- GitLab integration2
- Artifact dependencies2
- Official reliable support2
- Build progress messages promoting from running process2
- Repository-stored, full settings dsl with ide support1
- Built-in artifacts repository1
- Powerful build chains / pipelines1
- TeamCity Professional is FREE1
- High-Availability0
- Hosted internally0
Sign up to add or upvote prosMake informed product decisions
Cons of Bazel
- No Windows Support3
- Bad IntelliJ support2
- Poor windows support for some languages1
- Constant breaking changes1
- Learning Curve1
- Lack of Documentation1
Cons of TeamCity
- High costs for more than three build agents3
- Proprietary2
- User-friendly2
- User friendly2