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

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

    XMLWordPrintable

    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

            larsmeynberg Lars Meynberg created issue -
            larsmeynberg Lars Meynberg made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-21785 [ JENKINS-21785 ]
            larsmeynberg Lars Meynberg made changes -
            Summary Subversion repo with externals not working Multi-Branch-Job with Subversion repo which contains externals fails on checkout
            mjdetullio Matthew DeTullio made changes -
            Component/s subversion-plugin [ 15485 ]
            Component/s multi-branch-project-plugin [ 21127 ]
            mjdetullio Matthew DeTullio made changes -
            Assignee Matthew DeTullio [ mjdetullio ]
            mjdetullio Matthew DeTullio made changes -
            Labels multibranch
            larsmeynberg Lars Meynberg made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 171458 ] JNJira + In-Review [ 184313 ]
            nwegner Niels Wegner made changes -
            Component/s workflow-multibranch-plugin [ 21465 ]
            nwegner Niels Wegner made changes -
            Labels multibranch pipeline
            nwegner Niels Wegner made changes -
            Link This issue is duplicated by JENKINS-37672 [ JENKINS-37672 ]
            jglick Jesse Glick made changes -
            Component/s workflow-multibranch-plugin [ 21465 ]
            Labels pipeline multibranch pipeline
            rvangoethem Remi Van Goethem made changes -
            Attachment pipeline.png [ 36066 ]
            Attachment pipeline_multibranch.png [ 36067 ]
            stephenconnolly Stephen Connolly made changes -
            Labels multibranch pipeline multibranch pipeline scm-api-tidy-scrub
            stephenconnolly Stephen Connolly made changes -
            Labels multibranch pipeline scm-api-tidy-scrub multibranch pipeline scm-api-tidy-reject
            ifernandezcalvo Ivan Fernandez Calvo made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            ifernandezcalvo Ivan Fernandez Calvo made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            ifernandezcalvo Ivan Fernandez Calvo made changes -
            Link This issue duplicates JENKINS-32167 [ JENKINS-32167 ]
            ifernandezcalvo Ivan Fernandez Calvo made changes -
            Resolution Duplicate [ 3 ]
            Status Reopened [ 4 ] Closed [ 6 ]

              People

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

                Dates

                Created:
                Updated:
                Resolved: