Pipeline Viewer for Jenkins
Browse Jenkins® jobs, builds, pipeline stages and console logs from the VS Code sidebar.

Features
- Pipelines view in the activity bar: folders and multibranch projects → jobs → recent builds → pipeline stages, each with a live status icon.
- Status bar summary with the number of failing and running jobs. Click it to open the view.
- Notifications when a build finishes (failures only by default).
- Console logs open in an editor tab, scrolled to the end. Use the refresh button in the editor title to reload a running build's log.
- Actions on jobs and builds: Build Now, Abort Build, Open in Browser.
Getting started
- Create an API token in Jenkins: click your user name → Security → API Token → Add new Token.
- In VS Code, run Jenkins: Configure Connection from the Command Palette and enter the server URL, your username and the token.
Leave the username empty to connect anonymously, if your Jenkins allows read access without logging in.
Settings
| Setting |
Default |
Description |
pipelineViewerForJenkins.url |
|
Base URL of the Jenkins server (user settings only) |
pipelineViewerForJenkins.username |
|
Jenkins username (user settings only) |
pipelineViewerForJenkins.refreshInterval |
30 |
Polling interval in seconds (5 to 86400) |
pipelineViewerForJenkins.buildHistoryLimit |
10 |
Builds listed under each job (1 to 100) |
pipelineViewerForJenkins.notifications |
failures |
failures, all or off |
Requirements
- VS Code 1.85 or later.
- Stage data comes from the Pipeline Stage View plugin (
wfapi). Without the plugin, builds still show, but without their stages.
Security and privacy
- The extension talks only to the Jenkins server you configure. It sends no telemetry and contacts no other service.
- Your API token is kept in VS Code's secret storage (the OS keychain), never in a settings file. It is stored together with the server and username it was entered for, and is only ever sent to that server.
- The server URL and username can only be set in your user settings. A repository you open cannot point the extension at another server through its
.vscode/settings.json.
- Every request is pinned to the configured server, even when Jenkins reports links under another host name, and redirects are never followed, so your credentials cannot be forwarded elsewhere.
- Use
https:// where you can. Jenkins API tokens travel in a Basic auth header, so the extension asks for confirmation before using a token with a plain http:// server.
To report a vulnerability, see SECURITY.md.
Self-signed and company certificates
The extension always verifies HTTPS certificates, because a connection that skips the check would let anyone on the network read your API token. If your Jenkins uses a self-signed certificate, or one issued by your company's own certificate authority, add that certificate to your operating system's trusted certificates:
- macOS: open the certificate in Keychain Access and set Trust → When using this certificate to Always Trust.
- Windows: import it into Trusted Root Certification Authorities.
- Linux: copy it to
/usr/local/share/ca-certificates/ with a .crt extension and run sudo update-ca-certificates.
Then reload the VS Code window. VS Code passes the certificates your system trusts on to extensions, as long as the http.systemCertificates setting is on (the default).
The certificate must be issued for the host name in your Jenkins URL. With remote development (SSH, WSL or containers), the extension runs on the remote machine, so trust the certificate there.
Known limitations
- Console logs are loaded in full, so very large logs can take a while to open.
- Jobs with a file parameter must be started from the Jenkins web page.
- Text parameters are edited in a single-line input box.
Development
npm install
npm run compile # or press F5 in VS Code to launch an Extension Development Host
npm test # unit tests for the Jenkins client
npm run package # builds a .vsix
Note user-facing changes under ## Unreleased in CHANGELOG.md. Releases are made by running the Publish workflow on GitHub, which picks the next version, renames that section to it, and publishes to the Visual Studio Marketplace and Open VSX.
Issues and pull requests are welcome. For larger changes, please open an issue first to discuss the idea.
License
The code is licensed under MIT.
The extension icon is based on the Jenkins logo by the Jenkins project, licensed under CC BY-SA 3.0. The icon (media/icon.svg and media/icon.png) is shared under the same license.
Jenkins® is a registered trademark of LF Charities Inc. This extension is an independent project and is not affiliated with or endorsed by the Jenkins project.