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

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

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                larsmeynberg Lars Meynberg
              • Votes:
                8 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated: