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

            jraezrus Javier Raez created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Remote Link This issue links to "CloudBees internal CD-351 (Web Link)" [ 18310 ]
            jamesdumay James Dumay made changes -
            Labels cloudbees-internal-pipeline
            jamesdumay James Dumay made changes -
            Sprint Pipeline - Candidates [ 381 ]
            abayer Andrew Bayer made changes -
            Assignee Andrew Bayer [ abayer ]
            abayer Andrew Bayer made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "PR #56 (Web Link)" [ 19766 ]
            abayer Andrew Bayer made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            vivek Vivek Pandey made changes -
            Sprint Pipeline - Candidates [ 381 ]
            vivek Vivek Pandey made changes -
            Rank Ranked higher

              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: