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:
pcowley committed 2024-12-11 17:25:02 -07:00
1 parent acde5c5334
commit 64c9a7b29a
1 file changed
+2 -1
+2 -1
View File
@@ -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.