Bouteiller support
Bouteiller is a free iPhone and iPad app to follow and drive your Jenkins servers: job status, console logs, launching and stopping builds, approving pipeline inputs, widgets and Shortcuts.
Requirements
- iPhone or iPad with iOS 26 or iPadOS 26 or later.
- A Jenkins server running 2.580.1 LTS or a weekly release 2.580 or later. Older versions are refused when the server is added, with an explicit message.
- No plugin is required on the server. Bouteiller only uses the standard Jenkins REST API. When some common plugins are present (Pipeline, Pipeline Stage View or Pipeline Graph View, JUnit), the app shows more: pipeline stages, pending inputs, test results. The optional Bouteiller plugin adds push notifications.
- A Jenkins user account and an API token (see below). You do not need to be an administrator: you see and do in the app what your account is allowed to see and do in Jenkins.
- Network access from the device to the server (directly, or through your organization’s VPN).
Creating an API token
Bouteiller signs in with your Jenkins user name and an API token, never with your password.
- Sign in to the Jenkins web interface.
- Open the Security page of your user settings: go to
https://your-jenkins/me/security(the server form in the app has an Open the token page button that does this for you), or click your name at the top right, then Security. The API Token section is there. - In the API Token section, choose Add new Token, give it a name (for example “Bouteiller iPhone”) and generate it.
- Copy the token right away: Jenkins shows it only once.
- In Bouteiller, add a server and enter the server address, your user name and the token. The app checks the connection and the Jenkins version before saving.
You can revoke the token at any time from the same Jenkins page; the app then reports that the credentials are refused.
VPN and internal certificate authorities
Servers reachable only through a VPN
Bouteiller does not control your VPN. When adding or editing a server, turn on Reachable only through a VPN: when the server does not answer, the app then suggests connecting to the VPN instead of showing a generic error.
- Without the VPN, the app shows the last known data with an “Offline” banner and the date of that data. Actions (launch, stop, approve…) are disabled.
- As soon as the server answers again (VPN connected, app back in the foreground), the banner disappears and screens are refreshed.
- An action is never queued to run later: if the server cannot be reached, you are told so and can try again once connected.
Certificates from an internal authority
If your Jenkins server uses a certificate issued by your organization’s own certificate authority, iOS does not trust it by default. Two options:
- Install and trust the authority on the device (configuration profile provided by your IT department, then Settings › General › About › Certificate Trust Settings). Bouteiller then works like with any public certificate.
- Approve the certificate in Bouteiller: when the certificate is not trusted, the app shows the certificates sent by the server (subject and SHA-256 fingerprint) and lets you approve one, for this server only. Approving the root certificate authority is suggested by default, because it survives the renewal of the server certificate. The host name and validity dates are still checked.
Only approve a certificate whose fingerprint you have checked with your IT department. Anyone able to intercept the connection could otherwise read your API token.
Plain HTTP
HTTPS is expected. Plain HTTP is only accepted for a server on the local network, after you explicitly allow it in the server form: the API token is then sent unencrypted.
Notifications
Bouteiller has two notification modes, chosen per server:
- Push mode (from version 1.1, when the Bouteiller plugin is installed on the server): Jenkins sends the notification as soon as the event happens. It arrives within seconds, for any job or folder, even when the device cannot reach the server (outside the VPN).
- Local mode (any server): the app checks your favorite jobs in the background and posts a notification on the device when something happens. No server of the developer is involved.
Push mode
- Ask the administrator of your Jenkins server to install the Bouteiller plugin.
- In the app settings, open Push Notifications, choose the server and turn on Push Notifications. Allow notifications when iOS asks. The first registration of a device takes a few seconds.
- Tap Send a Test Notification: it should appear within a few seconds.
- Choose the events: for all jobs of the server on the same screen, or for a job or a folder (its jobs included) with its bell.
- You receive the events of the jobs that your Jenkins account can see, and only those.
- Each notification shows the job, the build, the result, the stage where a pipeline failed, the author of the last change and the message of an input, even without access to the server. Widgets and favorites are updated with it.
- Touch and hold a notification for its actions: View Log, Rebuild, Approve or Abort an input, or Answer… for an input with parameters, which opens the app. Actions need the server to be reachable.
- Pending inputs are Time Sensitive notifications (can be turned off in the settings): to receive them during a Focus, allow time-sensitive notifications in the settings of that Focus.
- Each iPhone or iPad registers on its own. Turning push off, or deleting the server in the app, unregisters the device.
- While push is on for a server, the local mode leaves it alone; if the registration fails or expires, the local mode takes over again and the push settings say why.
- Notifications are encrypted by your Jenkins server for your device and go through the relay of Bouteiller, which cannot read them and keeps nothing (see the privacy policy).
Local mode: setting up
- Add the job to your favorites.
- Tap the bell of the favorite job and choose the events: build started, success, failure, unstable, back to success, aborted, input waiting. The default choice (“Notify Me of Problems”) covers failure, unstable, back to success and input waiting.
- Allow notifications when iOS asks. The state of the job at that moment is the reference: only later events are notified.
Limits of the local mode
- Timing is decided by iOS. Background checks run when iOS allows it, often every few tens of minutes, sometimes less often (battery, usage of the app). A notification can therefore arrive well after the event.
- Favorites only. Only the subscribed favorite jobs are checked.
- Only the last build of each favorite is seen: if several builds ran between two checks, only the result of the last one is notified.
- Server reachability. Nothing can be checked while the server is unreachable (for example without the VPN).
- Background App Refresh must be on for Bouteiller (Settings › General › Background App Refresh). Low Power Mode suspends it, and iOS generally does not refresh an app you have force-quit from the app switcher until you open it again.
- Notification actions (Rebuild, Approve, Abort) require the device to be unlocked and the server to be reachable; the result of the action is notified. An input with parameters opens the app to answer it.
The Notifications section of the app settings shows whether notifications and Background App Refresh are allowed, and lets you run a check immediately.
The push mode has none of these limits: see above.
The Bouteiller plugin (push notifications)
The Bouteiller plugin is an optional Jenkins plugin, for administrators. It brings the push mode to the users of Bouteiller 1.1 and later, and gives the app the stages and pending inputs of pipelines in a stable form. The app keeps working without it.
Requirements
- Jenkins 2.580.1 LTS or a weekly release 2.580 or later, Java 21 or later.
- No other plugin is required. The pipeline features (input pending, failed stage, stages) use the Pipeline plugins when they are installed.
- Outbound HTTPS access from Jenkins to
https://bouteiller-relay.mannocci.fr, directly or through the HTTP proxy configured in Jenkins. No inbound access is needed: the devices never connect to Jenkins to receive notifications.
Installing
- Download bouteiller.hpi (version 1.2.0; SHA-256 checksum).
- In Jenkins: Manage Jenkins › Plugins › Advanced settings › Deploy Plugin, choose the file, then Deploy. Restart Jenkins if it asks.
- Optional: Manage Jenkins › System › Bouteiller turns push notifications on or off and, under Advanced, sets the use of the HTTP proxy and tests the access to the relay.
To update it, deploy the new file the same way. The plugin will later be published on the Jenkins update center.
What it does
- Each device registers with the credentials of its user; Manage Jenkins › Bouteiller devices lists the registered devices per user and can revoke them.
- For each event (build started, succeeded, failed, unstable, back to success, aborted, input pending), the plugin selects the devices subscribed to it whose user can read the job, encrypts the event for each device with a key of that device, and sends it to the relay. Builds are never slowed down: sending happens in the background, with retries for a few minutes if the relay cannot be reached.
- Registrations are stored in the Jenkins home (
io.jenkins.plugins.bouteiller.RegistrationStore.xml), device tokens and keys encrypted with the secrets of Jenkins. - The relay only receives encrypted notifications and device tokens: it cannot read the content of the events, nor know your job names.
- SonarQube analyses (plugin 1.2, for Bouteiller 1.2 and later): the plugin finds the SonarQube analyses in the build logs (Maven
sonar:sonar, Gradle, SonarScanner CLI…), so that the app links each job to its SonarQube projects, even without the SonarQube Scanner plugin. It never contacts SonarQube and holds no SonarQube credentials. The search can be turned off in Manage Jenkins › System › Bouteiller.
Frequently asked questions
- Is Bouteiller an official Jenkins app?
- No. Bouteiller is an independent app, developed by an individual. It is not affiliated with, nor endorsed by, the Jenkins project.
- Do I need to install a plugin on my server?
- No. The app works with a Jenkins server without any plugin. Freestyle jobs can be browsed, launched, stopped and rebuilt; pipeline stages, inputs and test results are shown when the corresponding plugins are installed. The optional Bouteiller plugin adds push notifications.
- Push notifications do not arrive.
- Open Settings › Push Notifications in the app and choose the server: the screen shows the state of the registration and why it failed, if it did, and lets you send a test notification. Check that notifications are allowed for Bouteiller in the iOS settings, that a Focus does not hide them, and ask your administrator whether Jenkins can reach
https://bouteiller-relay.mannocci.fr(the Test the relay button of the plugin configuration). - The app says my Jenkins version is not supported.
- Bouteiller requires Jenkins 2.580.1 LTS or a weekly release 2.580 or later. Ask your administrator about upgrading.
- The app says the credentials are refused.
- Check the user name (your Jenkins user ID, not necessarily your display name) and the API token. If the server is behind a reverse proxy or a single sign-on portal, make sure the
Authorizationheader reaches Jenkins. - The server is unreachable although it works in Safari.
- Check that you entered the same address as in Safari, including the context path (for example
https://ci.example.com/jenkins). If Safari works only through the VPN, turn on the VPN option of the server. If the certificate is not trusted, see internal certificate authorities. - Can I protect sensitive actions?
- Yes. In the settings, you can require Face ID, Touch ID or the device passcode before stopping a build and before approving or rejecting an input. Authentication is handled by iOS; the app never sees biometric data.
- Can I use several servers?
- Yes, as many as you want. The Favorites tab shows the favorite jobs of all servers.
- Which widgets and shortcuts are available?
- Widgets: status of a job (Home Screen and Lock Screen), favorites, failed builds of a server, with a Launch button for jobs without parameters. Shortcuts and Siri: launch a job, status of a job, failed builds, open a job. A Control Center control launches a favorite job. Widgets show the time of their last update and indicate when the server is unreachable.
- Why do the widgets show old data?
- Widgets are refreshed when iOS allows it and only while the server is reachable. Otherwise they keep the last known state, with the time of the last update and an “unreachable” indicator.
- How do I remove my data?
- Delete the server in the app: its API token is removed from the Keychain, along with its favorites, notification subscriptions and cached data. The cache alone can be cleared in the settings. Deleting the app removes its data; since iOS may keep Keychain items after an app is deleted, delete your servers first if you want to be sure the tokens are erased, and revoke the tokens in Jenkins.
- Does the app collect data?
- No. Push notifications go through a relay of the developer that cannot read them and keeps nothing. See the privacy policy.
Contact
For a question, a problem or a suggestion, write to: nicolas.mannocci@gmail.com.
To help with a problem, please mention the app version (shown in the app settings), your device and iOS version, your Jenkins version and, if relevant, whether a VPN or an internal certificate authority is involved. Never send your API token.