Stash and unstash fail for files with Unicode filenames

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            Franz Kaefer
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: