Hi Again,

I've been doing some more playing around and discovered that the "Build 
Environment" section and the "Perform Maven Release" link are available when 
one chooses to "Build a maven2/3 project".  Because it was recommended to use 
the free-style job type in Hudson since the "Hudson :: Maven (legacy) :: 
Plugin" was disabled, one cannot choose that type of job in our Hudson 
installation and hence not see those elements in the configure page.

Maybe this will be of use to someone else...

----- Original Message -----
From: sdoca sdoca <sd...@shaw.ca>
Date: Tuesday, August 28, 2012 10:51 am
Subject: Re: Looking for Help with M2 Release Plugin
To: sdoca sdoca <sd...@shaw.ca>
Cc: jenkinsci-users@googlegroups.com

> Hi,
> 
> To try to isolate if my issues are with Hudson or the M2 Release 
> Plugin, I installed Jenkins on my workstation (1.478) and the M2 
> Release Plugin (0.9.1).  It's listed as "Jenkins Maven Release 
> Plug-in Plug-in" in my installed plugins.
> 
> However, there doesn't appear to be changes to Jenkins as per 
> the screenshots on the plugin page: https://wiki.jenkins-
> ci.org/display/JENKINS/M2+Release+Plugin.  There's no 
> "Build Environment" section in my job's config page and there's 
> no "Perform Maven Release" link.
> 
> Other than installing the plugin itself, do I need to do 
> something to activate it?
> 
> Thanks!
> 
> 
> ----- Original Message -----
> From: sdoca sdoca <sd...@shaw.ca>
> Date: Friday, August 24, 2012 3:57 pm
> Subject: Looking for Help with M2 Release Plugin and Hudson
> To: jenkinsci-users@googlegroups.com
> 
> > Hi,
> > 
> > I'm using Hudson and am looking for some help with the M2 
> > Release Plugin (http://wiki.hudson-
> > ci.org/display/HUDSON/M2+Release+Plugin) which is being 
> > maintained in the Jenkins space.  If there's a different 
> > list/forum that's more appropriate to ask questions about this 
> > plugin and Hudson, I'd appreciate a link.
> > 
> > I recently upgraded to Hudson 2.2.1 and tried to upgrade the 
> M2 
> > Release plugin from 0.8.1 to 0.9.1 but I get this error:
> > 
> > [#|2012-08-24T15:12:37.250-
> > 
> 0600|SEVERE|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=72;_ThreadName=Thread-1;|WebModule[/hudson]Error
>  while serving http://myserver:8080/hudson/pluginManager/install
> >     java.lang.reflect.InvocationTargetException
> >             at 
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >             at 
> > 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)   
>          at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >             at java.lang.reflect.Method.invoke(Method.java:597)
> >             at 
> > 
> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)       
>      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
> >             at 
> > 
> org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)> 
> ... [snip] ...
> > 
> > [#|2012-08-24T15:12:37.250-
> > 
> 0600|SEVERE|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=72;_ThreadName=Thread-1;|WebModule[/hudson]Error
>  while serving http://myserver:8080/hudson/pluginManager/install
> >     java.lang.reflect.InvocationTargetException
> >             at 
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >             at 
> > 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)   
>          at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >             at java.lang.reflect.Method.invoke(Method.java:597)
> >             at 
> > 
> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)       
>      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
> >             at 
> > 
> org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)> 
> ... [snip] ...
> > 
> > Is this a Hudson/plugin compatability issue?
> > 
> > Also, when I first installed the 0.8.1 version of the plugin, 
> I 
> > was not able to use it because access issues to our SCM 
> > (Mercurial).  We've now fixed that and I'm trying to set up a 
> > Maven release job, but the directions on the plugin page 
> > (https://wiki.jenkins-
> ci.org/display/JENKINS/M2+Release+Plugin) 
> > but my job configuration page doesn't have a "Build 
> Environment" 
> > section, nor do I have a "Perform Maven Release" link.  I 
> don't 
> > know if these are differences between Jenkins and Hudson, the 
> > plugin versions or if I never had the plugin installed 
> correctly 
> > in the first place.
> > 
> > Any guidance is greatly appreciated!
> > 
> > 
>

Reply via email to