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 jenkinsci-us...@googlegroups.comjava.lang.UnsupportedOperationException <http://stacktrace.jenkins-ci.org/search?query=java.lang.UnsupportedOperationException>: Scm of type: hudson.scm.NullSCM is not supported at org.jfrog.hudson.release.scm.AbstractScmCoordinator.createScmCoordinator(AbstractScmCoordinator.java:63) <http://stacktrace.jenkins-ci.org/search/?query=org.jfrog.hudson.release.scm.AbstractScmCoordinator.createScmCoordinator&entity=method> at org.jfrog.hudson.release.maven.MavenReleaseWrapper.setUp(MavenReleaseWrapper.java:136) <http://stacktrace.jenkins-ci.org/search/?query=org.jfrog.hudson.release.maven.MavenReleaseWrapper.setUp&entity=method> at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655) <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun&entity=method> at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> at hudson.model.Run.execute(Run.java:1741) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method> at hudson.model.ResourceController.execute(ResourceController.java:98) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> at hudson.model.Executor.run(Executor.java:381) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> 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 supportedjava.lang.UnsupportedOperationException <http://stacktrace.jenkins-ci.org/search?query=java.lang.UnsupportedOperationException>: Scm of type: hudson.scm.NullSCM is not supported at org.jfrog.hudson.release.scm.AbstractScmCoordinator.createScmCoordinator(AbstractScmCoordinator.java:63) <http://stacktrace.jenkins-ci.org/search/?query=org.jfrog.hudson.release.scm.AbstractScmCoordinator.createScmCoordinator&entity=method> at org.jfrog.hudson.release.maven.MavenReleaseWrapper.setUp(MavenReleaseWrapper.java:136) <http://stacktrace.jenkins-ci.org/search/?query=org.jfrog.hudson.release.maven.MavenReleaseWrapper.setUp&entity=method> at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655) <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun&entity=method> at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> at hudson.model.Run.execute(Run.java:1741) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method> at hudson.model.ResourceController.execute(ResourceController.java:98) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> at hudson.model.Executor.run(Executor.java:381) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> Finished: FAILURE -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/20492248-2562-43e8-97f3-38eca21a0016%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.