mirror of
https://github.com/github/gitignore.git
synced 2026-11-17 15:21:50 +01: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:
1 parent
acde5c5334
commit
64c9a7b29a
1 file changed
+2
-1
@@ -18,10 +18,11 @@
|
|||||||
!/.gitignore
|
!/.gitignore
|
||||||
!/*.xml
|
!/*.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.
|
# Note: git doesn't track folders, only file content.
|
||||||
jobs/**
|
jobs/**
|
||||||
!jobs/**/
|
!jobs/**/
|
||||||
|
!jobs/**/config.xml
|
||||||
|
|
||||||
# Uncomment the following line to save next build numbers with config.
|
# Uncomment the following line to save next build numbers with config.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user