ShiftStage

Jenkins from your iPhone

Jenkins is the one CI that is always yours: on your server, behind your login. Its web interface was built for a desktop, and the nightly that broke at 2 a.m. does not care where you are.

Other ways first

The Jenkins web interface opens in Safari, and if your instance is reachable and an occasional look is enough, that is the shortest path. ShiftStage is for when you use it often: parameters as a proper form, the console log readable on a phone, a pipeline's input step answered with a button, and Jenkins in one list with GitHub Actions, GitLab or TeamCity.

The phone talks to your Jenkins directly, over HTTPS, with your user and API token. No Mac is involved, and nothing passes through our servers.

What you can do

  • Browse jobs in their folders, three levels deep; jobs at the root of Jenkins are listed under the installation itself.
  • Build with parameters. The job's parameter definitions become fields: string, multi-line text, boolean, choice, password. Plugin parameters with a list of choices become a choice; anything else a text field. A field you leave alone is not sent, so the job's own default applies.
  • Stop a running build, with a confirmation.
  • Rebuild — a new build of the same job with the previous build's parameters, not with the defaults.
  • Answer an input step: proceed or abort, and fill in the values it asks for. A step that asks for a file cannot be filled in from a phone; the card says so, and abort still works.

The console log, live

Jenkins can hand out the log from an offset, so the app follows a running build by its tail every few seconds instead of downloading it again. Colours become the app's palette, progress bars collapse to their last state, timestamps are dimmed. If the instance has the Pipeline Stage View plugin, a pipeline build shows its stages with their state and duration — the stage it failed in is visible without opening anything. Archived artifacts are listed per build and saved to the phone on request.

Knowing when it ends

Choose Watch the builds on a job, or watch one build until it ends. The phone alone checks when iOS allows background work — at best every fifteen minutes. A paired Mac can watch for it: it checks every 30 seconds and pushes the outcome to the iPhone and the Apple Watch. That stores the Jenkins token on that Mac, which the screen states before you agree, and one action removes it again.

Account

Add your instance by its address — with its path prefix, such as /jenkins, if it has one — your user name and an API token. HTTPS only: a token over plain HTTP would travel in the clear. Jenkins grants what the user may do; reading needs Overall/Read, starting builds needs Job/Build, and a refusal names the permission. The token stays in the iPhone's keychain and goes only to that host.

Running TeamCity as well? See TeamCity from your iPhone. If the fix needs a shell, the terminal on your Mac is in the same app.

Set it up once

  1. 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
  2. Install the app on the iPhone from the App Store.
  3. 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 Jenkins alone the iPhone app is enough; pair the Mac for the 30-second watch and for the machine where you will fix the build.

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.