 | New homepage The plug-in is being maintained by its owner/maintainers from a new home. The plug-in is still compatible with Hudson, however, the entry points for documentation and issue reporting have been combined in order to provide a single point of entry.
The latter version of the plugin should still be compatible with the latest Hudson releases - even though it will issue a warning.* It does not use new API from Jenkins but some defects raised against this plugin are actually defects in Hudson/Jenkins Core. They have been fixed in Jenkins - but may not have been fixed in Hudson. |
Plugin Information
| Plugin ID |
m2release |
| Latest Release |
0.9.1 |
| Latest Release Date |
Mar 01, 2012 |
| Changes via Fisheye |
In Latest Release
Since Latest Release |
| Maintainer(s) |
James Nord (id: teilo)
Christian Slama (id: m68k)
Dominik Bartholdi (id: imod) |
| Issue Tracking |
Open Issues |
This plugin allows you to perform a release build using the maven-release-plugin from within Hudson.
Comments (21)
May 22, 2009
Jason Zaugg says:
When I originally tried this plugin, I always hit this error. After upgrading to...When I originally tried this plugin, I always hit this error. After upgrading to Maven 2.1.0 and Hudson 1.306, it works perfectly.
May 25, 2009
Gabriel Falkenberg says:
We got the following error while trying to use the M2-release plugin: [INFO]...We got the following error while trying to use the M2-release plugin:
[INFO] Unable to commit files Provider message: The svn command failed. Command output: svn: Commit failed (details follow): svn: OPTIONS of 'http://example.com/test-repo/branches/release_1_1': authorization failed (http://example.com)The solution was to login as the user running Hudson and performing a couple of svn commands (such as list) from the command line on the repo in question. This is mentioned (performing some svn commands manually) on the page: http://wiki.hudson-ci.org/display/HUDSON/Hosting+plugins but with no explanation of why this might solve anything. It might be that this caches the svn credentials for the user and maybe the release plugin forks a new process which does not use Hudson's saved svn credentials?
May 28, 2009
darren hartford says:
m2 release plugin 0.20 on hudson 1.288 breaks, and another symptom is when you c...m2 release plugin 0.20 on hudson 1.288 breaks, and another symptom is when you configure a project with the release plugin, the configure page breaks where the release section just was, and you no longer have the ok/submit button.
upgrading hudson to 1.307 corrects this issue.(this is all in the above notes btw).
Jul 08, 2009
Giancarlo Rosso says:
Do you think it would be difficult to implement version tagging (not the default...Do you think it would be difficult to implement version tagging (not the default one).
Now I have to specify it as a -Dtag=tag in configuration.
Thanks.
Sep 15, 2009
pringles says:
Can dependencies be specified using thisrelease plugin.like, you can trigger a ...Can dependencies be specified using thisrelease plugin.like,
you can trigger a release once a dependent one is released ?
Sep 25, 2009
Julien HENRY says:
Please add a way to specify scmCommentPrefix like in Continuum. In my organisati...Please add a way to specify scmCommentPrefix like in Continuum. In my organisation we have a pre commit hook that enforce a specific bug tracker id in every SVN commit message. So the release plugin is not able to commit/tag without this information.
Thanks
Nov 06, 2009
Bertrand Gressier says:
It will be very good, if plugin begin to make a svn up before run release.It will be very good, if plugin begin to make a svn up before run release.
Nov 06, 2009
Bertrand Gressier says:
I have a bug if my version is not "standard" : 1.3.5-4-SNAPSHOT In hudson log I...I have a bug if my version is not "standard" : 1.3.5-4-SNAPSHOT
In hudson log I have this message :
Nov 6, 2009 3:32:31 PM hudson.ExpressionFactory2$JexlExpression evaluate
WARNING: Caught exception evaluating: it.computeNextVersion(m.version). Reason: java.lang.NumberFormatException: For
input string: "5-3"
java.lang.NumberFormatException: For input string: "5-3"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:456)
at java.lang.Integer.parseInt(Integer.java:497)
at org.jvnet.hudson.plugins.m2release.M2ReleaseAction.computeNextVersion(M2ReleaseAction.java:98)
And when the job is running, I have this error log :
[INFO] Can't run goal clean verify
java.io.IOException: mvn: not found
Thanks
Nov 20, 2009
Edgar Vonk says:
Thanks for this nice plugin. We have an issue however when we want to release o...Thanks for this nice plugin.
We have an issue however when we want to release one of our projects which has a large (>30) number of modules in it. When you select 'Specify release version(s)' the URL that the plugin generates (apparently it creates a GET request instead of a POST request) becomes too large:
Is it possible for the plugin to use a POST request instead?
Dec 31, 2009
fabrice says:
thanks for the plugin However why do you not propose to use SCM conf job for ...thanks for the plugin
[INFO] Tagging release with the label test-14-standard-web-1_0_0_0_3...
Instead of tagging my test-14-standard-web with v1_0_0_0_3 as requested in the input release field before the release action.
So because our SCM check the tag syntax the action is rejected :-(
It is not the plugin but maven-release-plugin that is responsible of this
(http://jira.codehaus.org/browse/MRELEASE-159, http://jira.codehaus.org/browse/MRELEASE-150)
but How can I configure it
I must give the -Dtag=v1_0_0_0_3 parameter to release:prepare but it will be fine if M2 release plugin could display on the action page, a input field with the SCM tag (with a default value)
Can I create a issue ?
Jan 08, 2010
Abhishek Chaturvedi says:
anyone tried with perforce?? i am not able to use it...its failing while commit.anyone tried with perforce?? i am not able to use it...its failing while commit.
Jan 28, 2010
Baptiste MATHUS says:
Evaluating this plugin, I miss something that seems to me it would be not very d...Evaluating this plugin, I miss something that seems to me it would be not very difficult do add. In fact, most of the time, we release a whole hierarchy of multimodule projects with the same version for each module. We use the -DautoVersionSubModules=true option. At the moment, if I say I want to specify the versions, the plugin shows every single modules.
To be able to use the hudson-m2 release plugin, it should add an additional option to say that the version is the same (the option above). This way, there would only one field for releaseVersion, and one for devVersion, not for each module.
I could try and have a look at the plugin to do that myself. Do you think it would be difficult, and would you consider it a good improvement or would you reject it?
Cheers.
Jan 29, 2010
Simon Buss says:
Hi James, we just switched to hudson and would really like to use your plugin f...Hi James,
we just switched to hudson and would really like to use your plugin for our releases. Your ToDo list says "
"
Can you already foresee when you'll be able to get to that issue? To us it would be the one and most important issue to take the plugin into consideration for regular usage. So we would REALLY appreciate it being solved. BTW: I didn't find it in your JIRA Issues linked above, should I add it?
The most appropriate way probably was to have hudson point to the maven repo where the released artifacts are deployed to. So maybe hudson/the plugin could just parse the m2 settings.xml and concatenate it with maven release arftifact urls?
Thanks in advance for short feedback!
Best regards,
Simon
Feb 09, 2010
Daniel Triphaus says:
Hi, ist it possible to get an RSS-Feed for releases via Hudson? There are RSS-F...Hi,
ist it possible to get an RSS-Feed for releases via Hudson? There are RSS-Feeds from Hudson for failed builds and all builds, but i would like to have an RSS-Feed only for release-versions.
Best regards,
Daniel
Feb 09, 2010
Matt Pierce says:
I'm not actually using this plugin, but just running the maven-release-plugin by...I'm not actually using this plugin, but just running the maven-release-plugin by putting release:prepare and release:perform in the goals and options of my hudson build when I want to release.
When I run a hudson build of a maven project using the release plugin, my primary artifact (the war file for the webapp I'm building) no longer gets saved as an artifact in hudson. It does get created and deployed correctly to my releases repository. If I run a regular build without releasing I get the war file as a hudson artifact. If I add 'package' somewhere in the goals line with release:prepare and release:perform I get a war file artifact, but it is not the release version--it is either of the pre-release SNAPSHOT or the post-release SNAPSHOT (depending on where I put the package goal relative to the release goals).
Is there a way to release and have the release-version war file available in Hudson as an artifact? Will using this plugin accomplish that?
May 28, 2010
Bertrand Gressier says:
This plugin is a good work !! Can you add a button to rollback the release (com...This plugin is a good work !!
Can you add a button to rollback the release (command : release:rollback) if the release is failed.
you can detect if a rollback file exist in the workspace.
today we must append a batch task to execute the command.
Bertrand
Nov 29, 2010
Shadow de Coutemeier says:
Great plugin. It is working ok for me. But I miss integration with Sonar, a new ...Great plugin. It is working ok for me.
But I miss integration with Sonar, a new option in Perform Maven release, something as:
Sonar: Launch an analisys after release: [ ]
If the check is on then will be launch a Sonar analisys, with the version generated (not the snapshot, the version release).
And the configuration, in the line of de Sonar plugin for Hudson, no need in pom.xml.
Dec 07, 2010
Jim Daniel says:
Is it possible to add parameterized functionality to the plug-in? Paramete...Is it possible to add parameterized functionality to the plug-in? Parameters that can be set in Release Plugin at run time and be accessible in the build proper.
Dec 08, 2010
Lars Fischer says:
Hello, is it possible to access the resulting version values as parameter for t...Hello,
is it possible to access the resulting version values as parameter for the "Release goals and options" field?
I need to specify a different SCM tag and would like to use something like this:
-Dtag=myspecialvalue-${releaseVersion} -Dresume=false release:prepare release:performThis should result in a scm tag like "myspecialvalue-0.0.1"
Mar 03, 2011
Mike Dalrymple says:
I noted that Hudson is initiating the command with a property like -Dproject.re...I noted that Hudson is initiating the command with a property like -Dproject.rel.com.example:my-artifact-id=1.0.1. Using the following plugin configuration:
Resulted in a tag of REL-1.0.1.
Feb 28, 2011
daniel nitzan says:
Hi, Is there a way to resolve SNAPSHOT dependencies, like when using maven-rele...Hi,
Is there a way to resolve SNAPSHOT dependencies, like when using maven-release-plugin directly?
By that I refer to the interactive prompt in which I can choose a release version and a next development version for a snapshot dependency.
I did not see this functionality in the hudson plugin though, any ideas?
Thanks,
Daniel