Which part of HUDSON_HOME should I put under source control?

前端 未结 3 1577
醉梦人生
醉梦人生 2021-02-04 12:54

I\'d like to manage Hudson\'s configuration files with subversion for backup. The Hudson Wiki lists the directory structure of $HUDSON_HOME like so:

HUDSON_HOME
         


        
3条回答
  •  鱼传尺愫
    2021-02-04 13:25

    I found a good cookbook for setting up SVN backup for Hudson: http://javaadventure.blogspot.com/2010/07/keeping-hudson-configuration-and-data.html

    I've adapted it for my own needs, but the things you should backup from Hudson home directory are:

    • config.xml for each job (jobs/*/config.xml)
    • everything in the users directory
    • a listing of what plugins you have installed

    The link also has some extra SVN goodness, like removing non-existent job configs, etc.

提交回复
热议问题