We were running Hudson on an older Linux server and when we tried to upgrade to v.3.3.2 we started encountering issues with older OS libraries that there wasn't upgrades for. So, we have set up a new server and have installed Hudson on it. There's quite a lot of jobs on the old server and recreating them manually on the new one will be a big task.
The question is, is there a way to export or migrate our jobs from the old server to the new one?
For team or non-team jobs, you can also use the CLI:
java -jar hudson-cli.jar create-job args...
Creates a new job by reading stdin or file as a configuration XML file
NAME : Name of the job to create. The job name should not be
team qualified. Ex: job1.
TEAM : Team to create the job in. Optional.
-file VAL : Read config.xml from file rather than standard input.
--username VAL : User name to authenticate yourself to Hudson
--password VAL : Password for authentication. Note that passing a
password in arguments is insecure.
--password-file VAL : File that contains the password
See also 'java -jar hudson-cli.jar login' so you don't have to specify credentials each time.
It is possible to script this with a little effort. E.g., the CLI list-jobs command will list all the jobs on a server, etc.