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

Multibranch pipeline has issues with / in jobName

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • pipeline
    • None
    • Linux Jenkins 1.647 Pipeline Plugin 1.13

      I have a maven project that uses Jaxb to load a schema document and generate something from it. This project fails with:

      [ERROR] [ERROR] schema_reference.4: Failed to read schema document 'file:/apps/.jenkins/workspace/project/feature%2FmyFeature/somePath/src/main/resources/MySchema.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
      [ERROR] unknown location
      [ERROR]

      Likewise, I have a project with unit tests that read in a file from the filesystem, make modifications, and write it back out. However, these test fail seemingly because the file can't be written out.

      When I change my feature branch name from "feature/myFeature" to just "myFeature" the projects succeed in building.

            jglick Jesse Glick
            mscharp Michael Scharp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: