Hudson and Plugin Update

I was wondering what steps are best for updating hudson and plugins.

I am running 1.347 now. I once tried updating, which caused a mess because some plugins were incompatible.

Also, I want to remove some plugins, is it enough just to delete the hpi file? It would be nice to know how other people take this step and in what order.
Should I update hudson first and then the plugin using the plugin?
And if the plugin broke something, drop it again? It seems like a lot of work. Or is there an easy way?
Is it also enough to save all xml configuration files in case something breaks, what can I restore?

Thanks in advance.

+3
source share
2 answers

My solution is redundant, but I was burned twice (once with a Hudson error and once with the help of plugin incompatibility) and learned my lesson.

I have Hudson installed on a virtual machine with the same plugins as my production instance, and some simple builds. When I feel it’s time to update or want to check out the latest release, I update Hudson in a virtual machine and verify that it starts and can create assemblies. I am only updating the production system that all our developers use after updating my test system. I do not do exhaustive tests at all in my test system; this is enough to make sure that the combination of updated Hudson and plugins starts correctly.

, Hudson . ( , , - .)

, . , , , . , , .

+7

, .

Hudson :

Hudson 1.387 littering HUDSON_HOME *.xml, .
( Hudson 1.386, HUDSON_HOME:

com.mtvi.plateng.hudson.ldap.LdapMailAddressResolver.xml                   
config.xml                                                                 hudson.scm.SubversionSCM.xml
de.fspengler.hudson.pview.PViewProjectProperty.xml                         hudson.tasks.Ant.xml
hudson.maven.MavenModuleSet.xml                                            hudson.tasks.Mailer.xml
hudson.model.UpdateCenter.xml                                              hudson.tasks.Maven.xml
hudson.plugins.clearcase.ClearCaseInstallation.xml                         hudson.tasks.Shell.xml
hudson.plugins.clearcase.ClearCaseSCM.xml                                  hudson.triggers.SCMTrigger.xml
hudson.plugins.git.GitTool.xml                                             nodeMonitors.xml
hudson.plugins.sonar.SonarPublisher.xml                                    proxy.xml
hudson.scm.CVSSCM.xml

)

+4

Source: https://habr.com/ru/post/1777617/


All Articles