Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to restore a deleted job in Jenkins?

Tags:

jenkins

I accidentally deleted a job in Jenkins... Is there a way to restore it? I have the files on disk but I don't remember the configurations and despite trying to reconfigure, I prefer to try to restore it, if i can...

like image 770
23ars Avatar asked Sep 05 '13 08:09

23ars


2 Answers

If you have the files (including the job) and can copy it to correct location, there is "Reload configurations from disk" option in "Manage Jenkins" page.

https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins

like image 63
eis Avatar answered Oct 17 '22 08:10

eis


I am using duplicity and duply as backup system. It works like a sharm! And then the "Reload configuration from disk" option.

like image 32
Alex Avatar answered Oct 17 '22 07:10

Alex