Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27155

Can't find the "Enable Subversion Merge Tracking" option in the configuration

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • svnmerge-plugin
    • None
    • svnmerge-plugin 2.5
      Subversion Plug-in 2.5
      Tracking SVN Plugin 1.1
      Windows7 system
      Jenkins 1.599

      In order to make Jenkins do integration automatically,I enable "Integarate to upstream upon successful build" of Post-build Actions in a project.And it reminds that this "Integarate to upstream upon successful build" option is used in conjunction with the "Enable Subversion Merge Tracking" option (which appears early in the configuration.)
      But actually I can not find the option "Enable Subversion Merge Tracking" in the configuration.So when I enable "Integarate to upstream upon successful build" of Post-build Actions in a project, the project will build failed 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

          [JENKINS-27155] Can't find the "Enable Subversion Merge Tracking" option in the configuration

          Hugues Chabot added a comment -

          Apparently the documentation is incorrect. The name of the option is "This project build a Subversion feature branch".

          Hugues Chabot added a comment - Apparently the documentation is incorrect. The name of the option is "This project build a Subversion feature branch".

          ruiling huang added a comment -

          Hugues Chabot,
          Thank your for your help,actually I had enabled the option"This project build a Subversion feature branch" and confirmed the Upstream project name is correct.But I still 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
          Do I miss some pulgin ? what should deal with this error?

          ruiling huang added a comment - Hugues Chabot, Thank your for your help,actually I had enabled the option"This project build a Subversion feature branch" and confirmed the Upstream project name is correct.But I still 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 Do I miss some pulgin ? what should deal with this error?

            hugueschabot Hugues Chabot
            raylene ruiling huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: