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

Multibranch pipeline has issues with / in jobName

    • 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.

          [JENKINS-32902] Multibranch pipeline has issues with / in jobName

          Michael Scharp created issue -
          Michael Scharp made changes -
          Link New: This issue depends on JENKINS-30744 [ JENKINS-30744 ]
          Michael Scharp made changes -
          Description New: 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.
          Michael Scharp made changes -
          Environment Original: Linux New: Linux Jenkins 1.647 Pipeline Plugin 1.13
          Jesse Glick made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168609 ] New: JNJira + In-Review [ 198446 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]

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

              Created:
              Updated:
              Resolved: