Skip to content

bash script for a jenkins job to store Jenkins Configuration information in git

Notifications You must be signed in to change notification settings

zeroem/jenkins-configuration-versioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Setup

  1. 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 jenkins_scm.sh as the command
  • Save

NOTE: before this job will work, you'll need to manually navigate to the $JENKINS_HOME directory and do the initial set up of the git repository. Make sure the appropriate remote is added and the default remote/branch set up.

About

bash script for a jenkins job to store Jenkins Configuration information in git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages