You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
767 B

  1. #Learn more about Jenkins and JENKINS_HOME directory for which this file is intended.
  2. # http://jenkins-ci.org/
  3. # https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins
  4. #ignore all JENKINS_HOME except jobs directory, root xml config, and .gitignore file
  5. /*
  6. !/jobs
  7. !/.gitignore
  8. !/*.xml
  9. #ignore all files in jobs subdirectories except for folders
  10. #note: git doesn't track folders, only file content
  11. jobs/**
  12. !jobs/**/
  13. #uncomment the following line to save next build numbers with config
  14. #!jobs/**/nextBuildNumber
  15. #exclude only config.xml files in repository subdirectories
  16. !config.xml
  17. #don't track workspaces (when users build on the master)
  18. jobs/**/*workspace
  19. #as a result only settings and job config.xml files in JENKINS_HOME will be tracked by git