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