|Maven Release Builds Failing After Upgrade to 3.0 [message #1000532]
||Mon, 14 January 2013 19:23
| Shelli Orton
Registered: September 2009
After upgrading to Hudson 3.0, our Maven release builds have started failing.
We use Mercurial on a remote server as our scm repo. In my pom.xml, I have the <scm> and <distributionManagement> configs set up. In my Hudson job (free-style), my build step invokes the built-in Maven 3 with the goals: release:prepare release:perform
My job's repository URL is set like this:
I generated a public/private key on my Hudson server for 'hudson' (which is the user our Hudson Glassfish server runs as) and copied the public key to our Mercurial server.
We are getting this error:
[INFO] o.h.m.e.h.MavenExecutionResultHandler -  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.2.2:prepare (default-cli) on project test-build: Unable to commit files
Execution of cmd : push failed with exit code: 1.
Working directory was:
/opt/home/hudson/jobs/My Project - Manual Release/workspace
Your Hg installation seems to be valid and complete.
Hg version: 1.3.1 (OK)
We also updated our 'hudson' user from being an LDAP user to being local users on both servers. However, I can successfully ssh to the Mercurial server from the Hudson server without providing a password, so I know that is set up correctly between the two.
I'm not convinced it's a Hudson issue, but I'm not sure what else could be the problem.
Any advice is greatly appreciated.
Powered by FUDForum
. Page generated in 0.01642 seconds