Skip to content

Instantly share code, notes, and snippets.

View asiandevs's full-sized avatar

Monowar Mukul asiandevs

  • Sydney, Australia
View GitHub Profile
@asiandevs
asiandevs / jenkins-home-git.sh
Created August 28, 2020 08:52 — forked from cenkalti/jenkins-home-git.sh
Backup Jenkins home periodicallly with git.
#!/bin/bash
# Setup
#
# - Create a new Jenkins Job
# - Mark "None" for Source Control Management
# - Select the "Build Periodically" build trigger
# - configure to run as frequently as you like
# - Add a new "Execute Shell" build step
# - Paste the contents of this file as the command