Jenkins: Best practices for backing up Jenkins home and archiving artifacts -


I have started using Jenkins for continuous integration. The requirement is that the construction environment of coverage and test results should be restored along with the construction of earlier constructions, if Jenkins sometimes fails to run for some time. Apart from this, back-up is expected to happen automatically. I could understand the functions of backup, thin back and periodic backup plugins. As I am new to Jenkins, I wanted to know

  1. What kinds of crashes are there in Jenkins?
  2. In case of failure, which files / configurations will be damaged
  3. What kind of back up will be efficient for my requirement?

Any suggestion on best practice / suggestions to support Jenkins would be very helpful. Which kind of accidents are expected in Jenkins? / P>

thanks

  In case of failure, which files / configuration damaged Will it be? What kind of back up will be efficient for my needs?  

I do not believe that accidents occurring specific to Jenkins are expected. Problems are similar to any other mission-critical application; Hardware-failures, software failures, or Jenkins as a continuous unity cookbook "Coffee on the motherboard, cat eats cat, cable cat eats"

To ensure that your back up is appropriate It is a god Jenkins server, set up backup, run some build, break as much as you can, restore backup, do you need to restore ?

Regarding backup, thin backup and periodic backups, I do not believe that as back-back, you almost certainly want to test the new versions of plug-ins and Jenkins Dev Jenkins Server Will be required. Back-ups of previous builds, just their results, so if you need it, then this can not be appropriate. The backup is not maintained anymore, so I will look at the periodic backup. You can see back up of the Jenkins / HOME directory directly because it is where all the builds, configs etc. are stored. Check with your operation team if the Java environment is lost or damaged using Jenkins, it can also be restored.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -