TeamCity from your iPhone
A TeamCity build that needs your approval sits in the queue until you give it. A broken one waits for somebody to read its log. Neither should need a laptop.
Other ways first
TeamCity's web interface opens in Safari, and for a quick look at a build that is often enough. ShiftStage helps when TeamCity is part of your day: build parameters as a real form, approvals with a button, a log you can read on a phone, and TeamCity next to GitHub Actions, GitLab or Jenkins in one list.
The phone talks to your TeamCity server directly, over HTTPS, with your access token. No Mac is needed for any of it, and nothing goes through our servers.
What you can do
- Browse projects with their full nested names and the build configurations inside them.
- Run a build. The branch is optional — leave it empty and the configuration's own branch is used — and the configuration's parameters appear as fields: text, checkbox, select, password. Hidden parameters stay hidden, and a checkbox sends the values the configuration expects, not a bare true or false. Untouched fields are not sent, so TeamCity's defaults apply.
- Approve a build that waits for approval. If more votes are needed, the app tells you how many; refusing is cancelling the build.
- Cancel a build, queued or running, with a confirmation.
- Re-run — a new build of the same configuration from the same branch and revision, with the parameters given at the start.
The build log
TeamCity hands the log out whole, so the app re-reads it while the build runs and while the screen is open, and nothing is stored after you leave. ANSI colours are shown in the app's palette, progress lines collapse to their last state, timestamps are dimmed. Build artifacts are listed with their paths and saved to the phone on request. TeamCity's REST API does not report the state of individual build steps, so the app does not invent a step list it cannot know.
Notifications
Watch the builds on a configuration, or watch one build until it finishes, and you hear about the outcome — not about every start. A running build can show on the lock screen with its elapsed time. On its own the phone checks when iOS grants background time, at best every fifteen minutes. A paired Mac agent can watch instead: it checks every 30 seconds and pushes the result to the iPhone and an Apple Watch. The screen states the price — the token is then stored on that Mac — and one action revokes it.
Account
Add your server by its address, including a path prefix such as /teamcity if
there is one, and an access token. HTTPS only. The token carries the user's permissions:
View Project to read and Run Build to start builds. It is kept in the
iPhone's keychain and sent only to that host.
See also Jenkins from your iPhone and GitHub Actions from your iPhone.
Set it up once
- Install the agent on the Mac. A signed, notarised app from our open
Homebrew tap. It shares only the folders you name.
brew install --cask shiftstage/shiftstage/shiftstage-agent - Install the app on the iPhone from the App Store.
- Pair them. Scan the code on the Mac's screen and confirm the same symbols on both devices. No account. The first pairing needs both on the same network.
That is the whole setup: no VPN, no port forwarding, no SSH keys. On the same Wi-Fi the phone talks to the Mac directly; away from home the connection goes peer to peer, or through a relay that forwards only end-to-end encrypted bytes.
For TeamCity alone the iPhone app is enough; the Mac agent adds the 30-second watch and the terminal, git and files of the Mac where the fix happens.
Get it
The Mac agent: download page — one Homebrew command or a notarised disk image. The iPhone app: App Store. Free forever for one Mac on your own network, no account; $7.99 a month or $69.99 a year to reach it from anywhere.
More guides: all guides.