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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: