The Simplest Way to Make Teamcity and Zscaler Work Like They Should
Using teamcity and zscaler together lets your team run private builds over secure network paths. TeamCity runs your build steps while Zscaler checks identity and routes traffic to private apps. This setup keeps your build servers off the public internet. Engineers can trigger builds from anywhere while network rules stay strict. You do not need to open broad firewall ports for remote workers or external build agents. Instead, every network call goes through a known path with clear user and mach
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Using teamcity and zscaler together lets your team run private builds over secure network paths. TeamCity runs your build steps while Zscaler checks identity and routes traffic to private apps.
This setup keeps your build servers off the public internet. Engineers can trigger builds from anywhere while network rules stay strict. You do not need to open broad firewall ports for remote workers or external build agents. Instead, every network call goes through a known path with clear user and machine checks.
How teamcity and zscaler handle identity and data flow
First, understand how data moves between these two tools during a normal build. TeamCity uses a central server to plan jobs and send work to build agents. Those agents pull source code, download packages, and push finished apps to target servers.
When you add Zscaler, the network path changes for both users and machines. Engineers log in to the TeamCity web app through Zscaler private connectors. Zscaler checks the user identity provider before it sends any traffic to the TeamCity server. If the user passes the check, Zscaler opens a direct path to the web app.
Build agents also need a safe path to talk to the central server and private targets. You can place Zscaler connectors inside the network zone where your TeamCity agents live. When an agent runs a job, its traffic flows through the local connector. Zscaler reads the network rule for that agent subnet and allows only approved ports. This keeps the build agent from reaching other private servers that it does not need.
Common failure modes and how to scope network paths
Many teams hit trouble when they treat build agents like regular user laptops. Zscaler often inspects web traffic by swapping TLS certificates on the fly. Build tools inside TeamCity agents often reject these custom certificates and fail the job. To fix this, load your root certificates into the trust store on every build agent. You can also set a rule in Zscaler to skip inspection for trusted package hosts.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Another common risk comes from broad network rules for your build farm. If all build agents share one flat subnet, Zscaler sees them as one source. A test job for a marketing site could reach your core database over that shared path. Instead, group your TeamCity agents into small pools based on the projects they run. Give each agent pool its own network segment and its own Zscaler access rule.
Shared service accounts also create blind spots in your build and deployment logs. Teams often store long-lived keys inside TeamCity so agents can push code to production. If a build script does something bad, the target server only logs the shared key name. You lose track of which engineer started the run or which project used the key. Limit each TeamCity project to its own dedicated role with narrow permissions. Rotate those keys often and tie every build run to a real user identity. Also check that Zscaler logs match your TeamCity build history by syncing system clocks across all hosts.
Keeping build pipelines fast and safe
Good pipeline design keeps network hops short between your agents and your private targets. Place your Zscaler connectors close to your TeamCity agents in the same cloud region. This cuts down on lag when agents pull large code bases or container images. Review your Zscaler logs each month to spot blocked calls from new build steps. When a build fails on a network call, check the Zscaler log first to see which rule fired. Clear rules and tight agent pools keep your builds fast and your network safe.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
Why do my TeamCity build agents fail with certificate errors behind Zscaler?
Zscaler swaps certificates when it inspects outbound web traffic for threats. Add your custom Zscaler root certificate to the agent trust store so build tools trust the path.
How should we control which TeamCity agents can reach production databases?
Split your TeamCity agents into separate pools and subnets for test and production workloads. Write Zscaler rules that allow only the production agent subnet to reach production database ports.
Can engineers view the TeamCity web app without a full network VPN?
Yes, Zscaler can publish the internal TeamCity web app to approved users after they log in. Engineers only reach the web port they need instead of joining the whole office network.
Related guides
In this post