Re: migration hudson 2.2.0 to jenkins

2013-01-03 Thread Daniel Fortunov
What is the latest version before the fork? I thought 2.2.0 was already
beyond the fork?

On 2 January 2013 20:46, Lars Nordin lnor...@internap.com wrote:

  Search the mailing list archives for posts from folks that have done
 this same thing.

 ** **

 The pattern has been – depending on how old of a version of hudson – to
 upgrade to the last version of hudson before the fork (you may need an
 interim upgrade if your version of Hudson is really old) and then upgrade
 to latest LTS. This is more effort but more likely to work and give you a
 working system as you upgrade.

 ** **



RE: migration hudson 2.2.0 to jenkins

2013-01-03 Thread Alex Earl
Yes, the fork happened around 1.395 or so. I don't know what version Hudson
changed the format.

Sent from my Windows Phone
--
From: Daniel Fortunov
Sent: 1/3/2013 5:18 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: migration hudson 2.2.0 to jenkins

What is the latest version before the fork? I thought 2.2.0 was already
beyond the fork?

On 2 January 2013 20:46, Lars Nordin lnor...@internap.com wrote:

  Search the mailing list archives for posts from folks that have done
 this same thing.

 ** **

 The pattern has been – depending on how old of a version of hudson – to
 upgrade to the last version of hudson before the fork (you may need an
 interim upgrade if your version of Hudson is really old) and then upgrade
 to latest LTS. This is more effort but more likely to work and give you a
 working system as you upgrade.

 ** **



RE: migration hudson 2.2.0 to jenkins

2013-01-02 Thread Lars Nordin
Search the mailing list archives for posts from folks that have done this same 
thing.

The pattern has been – depending on how old of a version of hudson – to upgrade 
to the last version of hudson before the fork (you may need an interim upgrade 
if your version of Hudson is really old) and then upgrade to latest LTS. This 
is more effort but more likely to work and give you a working system as you 
upgrade.



Re: migration hudson 2.2.0 to jenkins

2012-12-28 Thread Daniel Fortunov
Hello,

Is there any more information on this? I've also just (resumed) trying to 
upgrade from Hudson 2.0.0 and noted that the configuration file format is *
completely* different.

My existing config files have pretty much *everything*, including the build 
commands, defined within:
project-properties class=java.util.concurrent.ConcurrentHashMap

In the new file format, build commands are stored under builders.

When I cleanup unused fields from the config file it deletes just about 
everything, and leaves an empty skeleton of a config file.

Worse still, the job is still not visible in the Jenkins UI until I 
manually hack the config file to include these empty elements:
publishers/
buildWrappers/

Can somebody with better knowledge of the history of the configuration file 
formats weigh in with some advice on what's going on here? Is there any 
automated migration route?

Thanks in advance,
Daniel Fortunov

On Wednesday, April 25, 2012 11:31:46 AM UTC+1, Marcel Schutte wrote:

 Hi,

 Does anyone have experience migrating from hudson 2.2.0 to jenkins 
 (current version, 1.461) ? The format of the hudson config files has 
 changed and migration isn't as easy as it used to be:

 - some settings aren't picked up (for instance a project specific jdk and 
 the schedule for 'build periodically')
 - even after selecting 'upgrade' and 'discard unreadable data', I get lots 
 of startup errors like this:

 WARNING: Skipping a non-existent field project-properties
 com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: 
 No such field hudson.maven.MavenModule.project-properties

 I've got 800+ jobs, so fixing them manually is not something I look 
 forward to :)

 Regards,
 Marcel



RE: migration hudson 2.2.0 to jenkins

2012-12-28 Thread Alex Earl
My guess is you could do something with xslt to transform the XML between
formats, but you would need to understand both formats in depth. I don't
know that anyone on this list knows the new Hudson format well at all, but
there would be plenty of help for the Jenkins format on here.

Sent from my Windows Phone
--
From: Daniel Fortunov
Sent: 12/28/2012 10:11 AM
To: jenkinsci-users@googlegroups.com
Cc: maro.schu...@gmail.com
Subject: Re: migration hudson 2.2.0 to jenkins

Hello,

Is there any more information on this? I've also just (resumed) trying to
upgrade from Hudson 2.0.0 and noted that the configuration file format is *
completely* different.

My existing config files have pretty much *everything*, including the build
commands, defined within:
project-properties class=java.util.concurrent.ConcurrentHashMap

In the new file format, build commands are stored under builders.

When I cleanup unused fields from the config file it deletes just about
everything, and leaves an empty skeleton of a config file.

Worse still, the job is still not visible in the Jenkins UI until I
manually hack the config file to include these empty elements:
publishers/
buildWrappers/

Can somebody with better knowledge of the history of the configuration file
formats weigh in with some advice on what's going on here? Is there any
automated migration route?

Thanks in advance,
Daniel Fortunov

On Wednesday, April 25, 2012 11:31:46 AM UTC+1, Marcel Schutte wrote:

 Hi,

 Does anyone have experience migrating from hudson 2.2.0 to jenkins
 (current version, 1.461) ? The format of the hudson config files has
 changed and migration isn't as easy as it used to be:

 - some settings aren't picked up (for instance a project specific jdk and
 the schedule for 'build periodically')
 - even after selecting 'upgrade' and 'discard unreadable data', I get lots
 of startup errors like this:

 WARNING: Skipping a non-existent field project-properties
 com.thoughtworks.xstream.converters.reflection.NonExistentFieldException:
 No such field hudson.maven.MavenModule.project-properties

 I've got 800+ jobs, so fixing them manually is not something I look
 forward to :)

 Regards,
 Marcel