fileExists syntax in snippet generator is wrong

This issue is archived. You can view it, but you can't modify it. Learn more

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')

            Assignee:
            Unassigned
            Reporter:
            Max Cascone
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: