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

Version 2.5 requires access to repository root

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • subversion-plugin
    • None
    • Jenkins 1.609.1
      subversion-plugin 2.5

      After upgrading to 2.5 of the subversion plugin (upgraded from 2.4.3) we fail to check out a svn external repository which we don't have root access but access to a sub folder.
      The part of the repository that we wan't to access uses anonymous access and thus doesn't require any credentials.
      It doesn't help to provide any additional credentials, same error is given.

      Log from failing job (with some url/paths removed):

      Started by user Jon
      Building on master in workspace F:\<jenkins_ws_path>\workspace
      Updating https://<our_repo>/trunk@HEAD at revision HEAD
      Fetching 'https://<our_repo>/<sub_repo>/trunk' at -1 into 'F:\<jenkins_ws_path>\workspace\src\external\<sub_project>'
      At revision <version>
      Fetching 'https://svn.modelica.org/projects/Modelica/trunk' at -1 into 'F:\<jenkins_ws_path>\workspace\<subPath>\MSL'
      ERROR: Subversion update has been canceled
      Build was aborted
      Archiving artifacts
      Recording test results
      ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception
      hudson.AbortException: No test report files were found. Configuration error?
      	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:116)
      	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:93)
      	at hudson.FilePath.act(FilePath.java:989)
      	at hudson.FilePath.act(FilePath.java:967)
      	at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:90)
      	at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:120)
      	at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:137)
      	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	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:1766)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:374)
      Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
      Finished: ABORTED
      

      As you can see, the url we try to check out is https://svn.modelica.org/projects/Modelica/trunk/. The root of that repository is https://svn.modelica.org/projects/ which we don't have read access to. However we do have anonymous read access to Modelica/trunk/.

            Unassigned Unassigned
            jons Jon Sten
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: