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

java.io.IOException: Failed to mkdirs for Multi SCM git repos

XMLWordPrintable

    • Post-launch

      For cordova automation build I am using Jenkins
      There are two directory structure created for cordova structure
      1. Comman cordova structure where www folder is empty
      2. Under www folder whatever files are included are placed.
      Specifically we done it to separate it down cordova strcuture and files which are frequently will update it.
      so https://github.com/SanjanaTailor/CordovaGithubRepo1
      and https://github.com/SanjanaTailor/CordovaGithubRepo2

      Now configurations.xml file i will attach here which is used to create a build.
      Now, facing an error for repo2;

      Started by an SCM change
      Building on master in workspace .
      java.io.IOException: Failed to mkdirs: https:\github.com\SanjanaTailor\CordovaGithubRepo2
      at hudson.FilePath.mkdirs(FilePath.java:1170)
      at hudson.plugins.git.GitSCM.createClient(GitSCM.java:741)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1101)
      at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:143)
      at hudson.scm.SCM.checkout(SCM.java:495)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1281)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      at hudson.model.Run.execute(Run.java:1735)
      at hudson.matrix.MatrixBuild.run(MatrixBuild.java:313)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:405)

      Finished: FAILURE

      I am using windows-slave to create a build.

        1. config.xml
          3 kB
        2. log
          1.0 kB

            kbell Kevin Bell
            st Sanjana Tailor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: