Do you backup the jobs directory ? If yes, you can replace the existing config.xml with the one from backups. Also , when you make changes to a Job configuration in Jenkins hit save but Not APPLY . If you click on Apply , I noticed that config.xml will disappear.
On Thursday, October 6, 2016 at 1:34:43 AM UTC-4, touseef wrote: > > Im currently facing an issue where the config.xml of my created jobs gets > deleted randomly on Jenkins restart and the job is no longer available on > the view,even the job folder is present on file system *but without > config.xml *.I have no idea what leads to this randomn disappearance of > the config.xml file > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/19925e5a-7433-4086-8be8-a124d03a2898%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
