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

Stash and unstash fail for files with Unicode filenames

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

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

          Show
          oleg_nenashev Oleg Nenashev added a comment - Not a remoting issue, but it may be something in the core
          Hide
          danielbeck Daniel Beck added a comment -

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

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

            People

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

              Dates

              • Created:
                Updated: