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

stash could do not find relative path with './' prepend

XMLWordPrintable

      After changing to a specified Directory, stash do not find the files if the includes path has been prepend with ./
      Do not work:

      dir("D:\\publish\\") {
      	stash name: 'Setup-EXE', includes: './Setup/*'
      }
      

      Work like a charm:

      dir("D:\\publish\\") {
      	stash name: 'Setup-EXE', includes: 'Setup/*'
      }
      

      Regards, Éric.

            Unassigned Unassigned
            ericlouvard Éric Louvard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: