'Version Per Module' option in Release Management plugin

22 views
Skip to first unread message

Ankur Singhal

unread,
Jan 18, 2016, 6:10:07 AM1/18/16
to Jenkins Users
Using Jenkins with Maven for a multi module project. As per the requirement, I need to do the release management and change the version in POM file.

Used 'One Version for all modules', it worked well and changed the version of all modules (parent and child). However having issues when tried 'Version per module'.

Jenkins doesn't ask for 'next development version' in this case and throwing below error. Please let me know, if I'm missing anything here.
-------------------------------------------------------------------------------
[RELEASE] Release build triggered
ERROR: Processing failed due to a bug in the code. Please report this to jenkins...@googlegroups.com
java.lang.UnsupportedOperationException: Scm of type: hudson.scm.NullSCM is not supported
	at org.jfrog.hudson.release.scm.AbstractScmCoordinator.createScmCoordinator(AbstractScmCoordinator.java:63)
	at org.jfrog.hudson.release.maven.MavenReleaseWrapper.setUp(MavenReleaseWrapper.java:136)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
	at hudson.model.Run.execute(Run.java:1741)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:381)
project=hudson.maven.MavenModuleSet@55bd79bb[PRC_Branch_2_Build]
project.getModules()=[hudson.maven.MavenModule@416b6f2b[PRC_Branch_2_Build/com.la-z-boy:pricing][PRC_Branch_2_Build/com.la-z-boy:pricing][relativePath:./runtime-platform/pricing], hudson.maven.MavenModule@2c4185a6[PRC_Branch_2_Build/com.la-z-boy:pricing-ear][PRC_Branch_2_Build/com.la-z-boy:pricing-ear][relativePath:runtime-platform/pricing/pricing-ear], hudson.maven.MavenModule@4b3f4923[PRC_Branch_2_Build/com.la-z-boy:pricing-module][PRC_Branch_2_Build/com.la-z-boy:pricing-module][relativePath:runtime-platform/pricing/pricing-module]]
project.getRootModule()=hudson.maven.MavenModule@416b6f2b[PRC_Branch_2_Build/com.la-z-boy:pricing][PRC_Branch_2_Build/com.la-z-boy:pricing][relativePath:./runtime-platform/pricing]
FATAL: Scm of type: hudson.scm.NullSCM is not supported
java.lang.UnsupportedOperationException: Scm of type: hudson.scm.NullSCM is not supported
	at org.jfrog.hudson.release.scm.AbstractScmCoordinator.createScmCoordinator(AbstractScmCoordinator.java:63)
	at org.jfrog.hudson.release.maven.MavenReleaseWrapper.setUp(MavenReleaseWrapper.java:136)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
	at hudson.model.Run.execute(Run.java:1741)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:381)
Finished: FAILURE
Reply all
Reply to author
Forward
0 new messages