-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins 1.433 Ubuntu 10.04/x86 Java 6.
m2 release 0.80 - upgraded from 0.71
When upgrading from m2-release-plugin 0.71 to 0.80 I get an error reading job configuration.
NonExistentFieldException: No such field org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.defaultVersioningMode
This seems to date back to commit 136310fface31ac57efd03ff97d9881fd01c4566 on 1/May/2011 where the defaultVersioningMode member was removed from M2ReleaseBuildWrapper.java
A typical snippet of the configuration from a job configuration is as follows
<org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper> <releaseGoals>-Dresume=false -DignoreSnapshots=false -Dgoals=deploy release:prepare release:perform -Dandroid.device=emulator-${ANDROID_AVD_USER_PORT}</releaseGoals> <defaultVersioningMode>auto</defaultVersioningMode> <selectCustomScmCommentPrefix>false</selectCustomScmCommentPrefix> <selectAppendHudsonUsername>false</selectAppendHudsonUsername> </org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper>