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

When a Stream Source used for a MultiBranch pipeline includes a stream with '[]' characters in the name, a Java exception is thrown.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • p4-plugin
    • None
    • Jenkins2.263.2 P4-Plugin1.11.0

      If one of the streams scanned as part of a MultiBranch pipeline project contains [] characters in the name, and this stream is not explicitly specifyed as the 'Stream source', the following error is generated:
      ERROR: Could not fetch branches from source 5def8e96-7d1e-4c99-b65e-699b7b745540
      java.io.IOException: Unable to check file: Illegal character range near index 37

      If however the stream containing the [] chars is specifyed as the source, the error does not occur.

      P4 and P4D seem able to process the stream name containing [] chars without issues, and I could not reproduce the issue when working with a freestyle job.

            p4karl Karl Wirth
            p4jen Jen Bottom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: