r/jenkinsci • • 16d ago

I built an open-source plugin to replace classic Jenkins directory listings with an interactive tree & split-pane file preview (Artifact Explorer)

Post image

Hey everyone,

Like many of you, I have spent years using Jenkins, and one thing that always bugged me was browsing archived build artifacts. Clicking through nested directories triggers a full browser reload per folder, inspecting a JSON or log file requires downloading it locally or viewing an unstyled text dump, and finding a specific file among dozens of artifacts means manual Ctrl+F scrolling.

I wanted something that felt more like a modern IDE file tree, so I built and published Artifact Explorer (artifact-explorer). It is an open-source, drop-in plugin hosted under the official jenkinsci organization that works automatically with standard archiveArtifacts pipeline runs.

WHAT IT DOES:

* Interactive Collapsible Tree: Fast hierarchical directory navigation with lazy loading and breadcrumbs with zero full-page reloads.

* Split-Pane Live Previews:

- Markdown (.md) rendered with formatted tables, blockquotes, and code blocks.

- Code and Configs: Zero-dependency syntax highlighting for JSON (with pretty-print toggle), YAML, XML, properties, and shell scripts.

- Data Tables: CSV and TSV formatted into clean interactive tables.

- HTML Reports: Secure, sandboxed preview of HTML summaries.

- Images: Responsive preview for PNG, SVG, JPEG, and GIF assets.

* Instant Client-Side Search: Integrated search bar that filters across all artifacts in the build in real time with highlight matching.

* Selective Subfolder Zips: Hover over any nested directory in the tree to download just that specific folder as a .zip without having to pull down the entire multi-gigabyte build archive.

* In-Browser Checksum Verifier: Press 's' or click the integrity badge to compute and verify cryptographic SHA-256 hashes against build fingerprints.

* Modernized Build Summary Cards: Replaces the massive flat table on the build overview page with a compact, 215px card that lets you toggle between nested Tree and Flat views.

* Zero Configuration: 100% backward compatible. If your existing jobs already use archiveArtifacts, the new UI activates automatically with no pipeline changes.

LINKS AND CODE:

* Jenkins Plugin Catalog: https://plugins.jenkins.io/artifact-explorer/

* GitHub Repository: https://github.com/jenkinsci/artifact-explorer-plugin

* Comparison and Screenshots: https://github.com/jenkinsci/artifact-explorer-plugin#classic-jenkins-vs-artifact-explorer

It is MIT-licensed and available directly in the Jenkins Update Center under Manage Jenkins -> Plugins -> Available plugins -> search "artifact-explorer".

I would love to hear feedback, feature requests, or additional file types you would like to see preview support for!

16 Upvotes

0 comments sorted by