Import Hudson jobs to Jenkins

2019-08-19 07:22发布

问题:

I'm trying to import Hudson(v3.1.2) jobs into Jenkins, but it seems that the config files differ in structure. Information about Git repository and MSBuild settings will not be read by Jenkins.

Anyone know if there's a way to get around this?

回答1:

One solution is to upgrade your existing Hudson instance to Jenkins (to migrate the job configuration).

And next, you can try to import the migrated jobs into your new Jenkins server.

Please do a backup before upgrading your Hudson instance :)



回答2:

There is a plugin available to import jobs https://wiki.jenkins-ci.org/display/JENKINS/Job+Import+Plugin

It mentions -

You may also be able to import jobs from a Hudson instance as well, but compatibility is not a primary goal of this plugin.