Re: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread Benoît Thiébault
I could, but this is long and tedious... and I would lose the history...


On Mon, Jan 7, 2013 at 4:42 PM, Les Mikesell  wrote:

> On Mon, Jan 7, 2013 at 8:38 AM, bthiebault 
> wrote:
> > Thanks for your answer.
> >
> > I indeed had seen this bold red text notice but was wondering if it was
> only
> > not supported or completely impossible. I guess I have my answer...
> > I will thus go back to Hudson.
>
> Can you re-create the jobs under jenkins?
>
> --
>Les Mikesell
>  lesmikes...@gmail.com
>


Re: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread Slide
I've been contemplating writing a conversion plugin, but I don't know
enough about the new Hudson format yet to do it.


On Mon, Jan 7, 2013 at 8:42 AM, Les Mikesell  wrote:

> On Mon, Jan 7, 2013 at 8:38 AM, bthiebault 
> wrote:
> > Thanks for your answer.
> >
> > I indeed had seen this bold red text notice but was wondering if it was
> only
> > not supported or completely impossible. I guess I have my answer...
> > I will thus go back to Hudson.
>
> Can you re-create the jobs under jenkins?
>
> --
>Les Mikesell
>  lesmikes...@gmail.com
>



-- 
Website: http://earl-of-code.com


Re: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread Les Mikesell
On Mon, Jan 7, 2013 at 8:38 AM, bthiebault  wrote:
> Thanks for your answer.
>
> I indeed had seen this bold red text notice but was wondering if it was only
> not supported or completely impossible. I guess I have my answer...
> I will thus go back to Hudson.

Can you re-create the jobs under jenkins?

-- 
   Les Mikesell
 lesmikes...@gmail.com


Re: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread bthiebault
Thanks for your answer.

I indeed had seen this bold red text notice but was wondering if it was 
only not supported or completely impossible. I guess I have my answer...
I will thus go back to Hudson.

Kind regards,

Ben

On Monday, 7 January 2013 15:01:44 UTC+1, slide wrote:
>
> If you look at the wiki page for migrating from Hudson, you'll notice in 
> bold red text that you can only upgrade from <=1.398 reliably. Hudson 
> changed the format of their XML after that and so the formats are no longer 
> compatible.
>
> Sent from my Windows Phone
> --
>
>

RE: Problem while migrating from Hudson 2.1.2

2013-01-07 Thread Alex Earl
If you look at the wiki page for migrating from Hudson, you'll notice in
bold red text that you can only upgrade from <=1.398 reliably. Hudson
changed the format of their XML after that and so the formats are no longer
compatible.

Sent from my Windows Phone
--
From: bthiebault
Sent: 1/7/2013 3:37 AM
To: jenkinsci-users@googlegroups.com
Subject: Problem while migrating from Hudson 2.1.2

Hi everyone,

I am running Hudson 2.1.2 on a computer that is going to be upgraded
(hardware + OS upgrade to Debian 6).

As I need to reinstall everything, I thought it might be a good idea to
switch from Hudson to Jenkins.

So I installed Jenkins on the new machine (using apt-get) and moved the
home directory from /var/lib to /home/jenkins following instructions here:
http://robertbasic.com/blog/changing-jenkins-home-directory-on-ubuntu

Then I archived my former /home/hudson folder and transfered it to the new
machine.

I tried to unzip it piece by piece. Copying the plugins and users worked
very smoothly. However, copying the jobs folder is more problematic and I
now have a stacktrace on jenkins home page.

Can anyone help?

Kind regards,

Ben

Exception: org.apache.commons.jelly.JellyTagException:
> jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.497.jar!/hudson/model/View/index.jelly:44:43:
>  org.apache.commons.jelly.JellyTagException:
> jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.497.jar!/lib/hudson/projectView.jelly:64:22:
>  java.lang.NullPointerException
> Stacktrace:
>
> javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: 
> jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.497.jar!/hudson/model/View/index.jelly:44:43:
>   org.apache.commons.jelly.JellyTagException: 
> jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.497.jar!/lib/hudson/projectView.jelly:64:22:
>   java.lang.NullPointerException
>   at 
> org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112)
>   at 
> org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127)
>   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562)
>   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
>   at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:624)
>   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
>   at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487)
>   at org.kohsuke.stapler.Stapler.service(Stapler.java:164)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
>   at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
>   at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
>   at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
>   at 
> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
>   at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
>   at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
>   at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
>   at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
>   at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
>   at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
>   at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
>   at 
> hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
>   at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>   at 
> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
>   at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>   at 
> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>   at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>   at 
> org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
>   at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>   at 
> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
>   at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>   at 
> org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
>   at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>   at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
>   at 
> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>   at 
> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
>   at 
> hudson.security.HttpSes