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

Stash and unstash fail for files with Unicode filenames

      A typo in our source code broke all pipelines that stash/unstash the built workspace. I figured out that it's because of a class file containing a non-ASCII letter (a dot-less "i"  in the filename "Provıder.class").

      Two pipelines to reproduce (output attached):

      node('slave') {
          stage('stash') {
              sh 'touch Provıder.class'
              stash name: 'foo', includes: '*.class'
          }
      }
      

      → Fails to stash from slave.

      node('master') {
          stage('stash') {
              sh 'touch Provıder.class'
              stash name: 'foo', includes: '*.class'
          }
      
          node('slave') {
              stage('unstash') {
                  unstash 'foo'
              }
          }
      }
      

      → Stash on master works, fails to unstash on slave.

      I'm not sure if remoting is involved, but it stashes and unstashes fine on the master node, however that could also be due to implementation details for the master node.

          [JENKINS-45544] Stash and unstash fail for files with Unicode filenames

          Oleg Nenashev added a comment -

          Not a remoting issue, but it may be something in the core

          Oleg Nenashev added a comment - Not a remoting issue, but it may be something in the core

          Daniel Beck added a comment -

          Please provide the output of /systemInfo and /computer/theNodeTheStashWasRunningOn/systemInfo

          Daniel Beck added a comment - Please provide the output of /systemInfo and /computer/theNodeTheStashWasRunningOn/systemInfo

            Unassigned Unassigned
            fkaefer Franz Kaefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: