• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • jenkins.2.201

      We have an archived folder called HeadlessChrome 77.0.3865 (Linux 0.0.0) with a file index.html the contents of that folder fail when served via resource root.
      If I make a copy of the folder HeadlessChrome-77.0.3865-(Linux-0.0.0), that index.html file will be served successfully.

      Pipeline for testing:

      node('master') {
         sh '''mkdir -p "a/foo bar has lots of spaces to make people unhappy"
         touch "a/foo bar has lots of spaces to make people unhappy/index.html"
         '''
         archiveArtifacts 'a/'
      }
      

          [JENKINS-59849] Spaces don't work in resource root paths

          Josh Soref created issue -
          Josh Soref made changes -
          Link New: This issue relates to JENKINS-41891 [ JENKINS-41891 ]
          Josh Soref made changes -
          Summary Original: Parentheses don't work in resource root paths New: Spaces don't work in resource root paths
          Daniel Beck made changes -
          Assignee New: Daniel Beck [ danielbeck ]
          Daniel Beck made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          Daniel Beck made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Josh Soref made changes -
          Description Original: We have an archived folder called {{HeadlessChrome 77.0.3865 (Linux 0.0.0)}} with a file {{index.html}} the contents of that folder fail when served via resource root.
           If I make a copy of the folder {{HeadlessChrome-77.0.3865-(Linux-0.0.0)}}, that {{index.html}} file will be served successfully.
          New: We have an archived folder called {{HeadlessChrome 77.0.3865 (Linux 0.0.0)}} with a file {{index.html}} the contents of that folder fail when served via resource root.
           If I make a copy of the folder {{HeadlessChrome-77.0.3865-(Linux-0.0.0)}}, that {{index.html}} file will be served successfully.

          Pipeline for testing:
          {code}
          node('master') {
             sh '''mkdir "foo bar"
             touch "foo bar/index.html"
             '''
             archiveArtifacts 'foo bar/'
          }
          {code}
          Josh Soref made changes -
          Description Original: We have an archived folder called {{HeadlessChrome 77.0.3865 (Linux 0.0.0)}} with a file {{index.html}} the contents of that folder fail when served via resource root.
           If I make a copy of the folder {{HeadlessChrome-77.0.3865-(Linux-0.0.0)}}, that {{index.html}} file will be served successfully.

          Pipeline for testing:
          {code}
          node('master') {
             sh '''mkdir "foo bar"
             touch "foo bar/index.html"
             '''
             archiveArtifacts 'foo bar/'
          }
          {code}
          New: We have an archived folder called {{HeadlessChrome 77.0.3865 (Linux 0.0.0)}} with a file {{index.html}} the contents of that folder fail when served via resource root.
           If I make a copy of the folder {{HeadlessChrome-77.0.3865-(Linux-0.0.0)}}, that {{index.html}} file will be served successfully.

          Pipeline for testing:
          {code:java}
          node('master') {
             sh '''mkdir -p "foo bar"
             touch "foo bar/index.html"
             '''
             archiveArtifacts 'foo bar/'
          }
          {code}
          Josh Soref made changes -
          Description Original: We have an archived folder called {{HeadlessChrome 77.0.3865 (Linux 0.0.0)}} with a file {{index.html}} the contents of that folder fail when served via resource root.
           If I make a copy of the folder {{HeadlessChrome-77.0.3865-(Linux-0.0.0)}}, that {{index.html}} file will be served successfully.

          Pipeline for testing:
          {code:java}
          node('master') {
             sh '''mkdir -p "foo bar"
             touch "foo bar/index.html"
             '''
             archiveArtifacts 'foo bar/'
          }
          {code}
          New: We have an archived folder called {{HeadlessChrome 77.0.3865 (Linux 0.0.0)}} with a file {{index.html}} the contents of that folder fail when served via resource root.
           If I make a copy of the folder {{HeadlessChrome-77.0.3865-(Linux-0.0.0)}}, that {{index.html}} file will be served successfully.

          Pipeline for testing:
          {code:java}
          node('master') {
             sh '''mkdir -p "a/foo bar has lots of spaces to make people unhappy"
             touch "a/foo bar has lots of spaces to make people unhappy/index.html"
             '''
             archiveArtifacts 'a/'
          }
          {code}
          Daniel Beck made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Josh Soref made changes -
          Remote Link New: This issue links to "PR#4302 (Web Link)" [ 23841 ]

            danielbeck Daniel Beck
            jsoref Josh Soref
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: