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

Multi-Branch-Job with Subversion repo which contains externals fails on checkout

      When the multi-branch-job is configured with secured (credentials) svn repository which has external links, the checkout fails sometimes with an NullpointerException (It seems only the initial CO) or with an authentication cancelled error.

      Fetching '<some-external-link>' at -1 into '<jenkins-workspace>'
      java.lang.NullPointerException
      	at java.util.ArrayList.addAll(ArrayList.java:559)
      	at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:894)
      	at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:830)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
      	at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:108)
      	at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:85)
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:206)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      
      Fetching '<some-external-link>' at -1 into '<jenkins-workspace>'
      org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled
      

      Maybe its related to JENKINS-21785 but in a multi-branch-job I can not add additional credentials in the job config.

          [JENKINS-35227] Multi-Branch-Job with Subversion repo which contains externals fails on checkout

          Lars Meynberg created issue -
          Lars Meynberg made changes -
          Link New: This issue is related to JENKINS-21785 [ JENKINS-21785 ]
          Lars Meynberg made changes -
          Summary Original: Subversion repo with externals not working New: Multi-Branch-Job with Subversion repo which contains externals fails on checkout
          Matthew DeTullio made changes -
          Component/s New: subversion-plugin [ 15485 ]
          Component/s Original: multi-branch-project-plugin [ 21127 ]
          Matthew DeTullio made changes -
          Assignee Original: Matthew DeTullio [ mjdetullio ]
          Matthew DeTullio made changes -
          Labels New: multibranch
          Lars Meynberg made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171458 ] New: JNJira + In-Review [ 184313 ]
          Niels Wegner made changes -
          Component/s New: workflow-multibranch-plugin [ 21465 ]
          Niels Wegner made changes -
          Labels Original: multibranch New: pipeline

            Unassigned Unassigned
            larsmeynberg Lars Meynberg
            Votes:
            18 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: