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

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

    Details

    • Similar Issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: