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

fileExists syntax in snippet generator is wrong

XMLWordPrintable

      in the snippet generator, the help text and generated code snippet for fileExists is wrong:

      For a file 'my-file', it generates:

      fileExists 'my-file'

      But using that syntax throws an error.

      The correct syntax - or at least, what works in my pipeline, is:

      fileExists ('my-file')

            Unassigned Unassigned
            mcascone Max Cascone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: