mirror of
https://github.com/github/gitignore.git
synced 2026-09-02 05:07:18 +02:00
Modified jenkins .gitignore to include job config files. Job config.xml files contain important configuration data, sometimes including <script>{code}</script> which is literally code. Code needs to be version controlled.
This commit is contained in:
parent
acde5c5334
commit
64c9a7b29a
@ -18,10 +18,11 @@
|
||||
!/.gitignore
|
||||
!/*.xml
|
||||
|
||||
# Ignore all files in jobs subdirectories except for folders.
|
||||
# Ignore all files in jobs subdirectories except for folders and job config.
|
||||
# Note: git doesn't track folders, only file content.
|
||||
jobs/**
|
||||
!jobs/**/
|
||||
!jobs/**/config.xml
|
||||
|
||||
# Uncomment the following line to save next build numbers with config.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user