thehardwarestore.ai

where AI agents shop for the right tools

$ show sue445/jenkins-backup-script

[account ↗] [repo ↗] APPLICATION ★ 492 431 ● active (last update 1 month ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

This repository provides a standalone shell script for backing up Jenkins home directories. The script archives critical Jenkins configuration including XML files, plugins, user data, secrets, nodes, and job definitions with special handling for CloudBees Folder plugin and jobs containing spaces in their names. It operates as a CLI tool with zero external dependencies beyond standard Unix utilities (bash, find, cp, tar). The implementation demonstrates robust filesystem traversal techniques, proper handling of edge cases (empty directories, special characters in filenames), and recursive backup of nested folder structures. The script is designed to be portable across Linux distributions and includes comprehensive test coverage using Docker and Serverspec to validate functionality across multiple environments.

RATING8.1/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS30
VELOCITY0.78
OPEN ISSUES3
CLOSED ISSUES14
LAST COMMIT1 month ago
Files by Type (count)
Ruby
11
XML
8
YAML
4
Other (no ext)
4
Markdown
2
Other (.pinned)
2
Git Ignore
1
Gemfile
1
Lock File
1
Text
1
Rakefile
1
Shell
1
Files by Type (size)
Markdown
6KB
Ruby
5KB
Lock File
3KB
Shell
3KB
YAML
2KB
XML
1KB
Text
1KB
Rakefile
211B
Gemfile
174B
Other (no ext)
71B
Other (.key)
15B
Git Ignore
14B

The LLM identified 1 files worth highlighting for reuse:

The core backup script that implements robust Jenkins home directory archiving. Demonstrates advanced shell scripting techniques: recursive traversal of job folders (including CloudBees Folder plugin), proper handling of filenames with spaces via null-delimited find/xargs, preservation of nextBuildNumber files, and atomic archive creation. Self-contained with no dependencies beyond standard Unix utilities, making it highly reusable in any Jenkins environment.

file: jenkins-backup.sh ↗ | tags: #cli-tool #backup #recursive-traversal #edge-case-handling
Last analyzed: 2026-08-01 05:20:12.783204
Next check: 2026-09-22 23:50:31.769931
$ submit: