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

filexist('') return an incorrect result in windows machines

XMLWordPrintable

      If you execute this code in a windows agent or master:

       

      node('master'){

         def test = fileExists ''

         echo test.toString()

      }

       

      The result is true while in linux machines the result is false.

      The result should be always false.

            abayer Andrew Bayer
            jraezrus Javier Raez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: