-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows Server 2003 R2 with Tom Cat
1. Created a project in Jenkins for my trunk code and selected "Accept Integration from Subversion feature branches" in the configuration screen.
2. Created a feature branch from within Jenkins which created a new Jenkins project
3. Configured branch project to "Integrate to upstream upon successful build"
4. Jenkins successfully built the project
5. Jenkins then integrated the changes (there were none) to the trunk and built the trunk successfully
6. Jenkins checked in the latest merged trunk code
7. Jenkins then automatically rebased the branch, built it, and checked in the merged changes.
8. Steps 5-7 repeated over a dozen times before I noticed and turned off automatic upstream integration
I had both projects' build schedule set to Poll SCM every minute (* * * * *). The checkins from the merges triggered each build and kept the loop going.
Hi, actually i do the same step as you, but after the Step 3:Configured branch project to "Integrate to upstream upon successful build", Jenkins can not successfully built the project.I get the error information like this:ERROR: Build step failed with exception
java.lang.NullPointerException
at hudson.scm.SVNRevisionState.getRevision(SVNRevisionState.java:24)
at jenkins.plugins.svnmerge.IntegrateAction.getSvnInfo(IntegrateAction.java:149)
at jenkins.plugins.svnmerge.IntegrateAction.perform(IntegrateAction.java:165)
at jenkins.plugins.svnmerge.IntegrationPublisher.perform(IntegrationPublisher.java:51)
at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
at hudson.model.Run.execute(Run.java:1743)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Build step 'Integrate to upstream upon successful build' marked build as failure
Finished: FAILURE
Can you help me? What should I do to deal with this problem? Thank you !