diff options
author | Antoine GIRARD <sapk@users.noreply.github.com> | 2019-12-20 00:04:12 +0100 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-12-19 23:04:12 +0000 |
commit | db5524a9ab6b0050fa71e21a3a15740e85e4e4a8 (patch) | |
tree | d55a420536bc9953245815146ac136a080842aad /options/gitignore/JENKINS_HOME | |
parent | d9a0ba2caced0741c580bc38d51463d79d88fec2 (diff) | |
download | gitea-db5524a9ab6b0050fa71e21a3a15740e85e4e4a8.tar.gz gitea-db5524a9ab6b0050fa71e21a3a15740e85e4e4a8.zip |
chore: update gitignore list (#9437)
Updated the gitignore list with the command : `go run scripts/generate-gitignores.go`
Diffstat (limited to 'options/gitignore/JENKINS_HOME')
-rw-r--r-- | options/gitignore/JENKINS_HOME | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/options/gitignore/JENKINS_HOME b/options/gitignore/JENKINS_HOME new file mode 100644 index 0000000000..6df01d6210 --- /dev/null +++ b/options/gitignore/JENKINS_HOME @@ -0,0 +1,25 @@ +#Learn more about Jenkins and JENKINS_HOME directory for which this file is intended. +# http://jenkins-ci.org/ +# https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins + +#ignore all JENKINS_HOME except jobs directory, root xml config, and .gitignore file +/* +!/jobs +!/.gitignore +!/*.xml + +#ignore all files in jobs subdirectories except for folders +#note: git doesn't track folders, only file content +jobs/** +!jobs/**/ + +#uncomment the following line to save next build numbers with config +#!jobs/**/nextBuildNumber + +#exclude only config.xml files in repository subdirectories +!config.xml + +#don't track workspaces (when users build on the master) +jobs/**/*workspace + +#as a result only settings and job config.xml files in JENKINS_HOME will be tracked by git |