• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • workflow-cps-plugin
    • None
    • Tested with a fresh, default install of Jenkins 2.42

      A Multibranch Pipeline fails reading a Jenkinsfile if the file is encoded in UTF-8 and includes a BOM (Byte order mark).

      The error depends on the content of the file, but often shows as a variant of 'No such DSL method XX found'.

      If the BOM is removed, the file works fine.

        1. Jenkinsfile
          0.0 kB
        2. Jenkinsfile
          0.1 kB

          [JENKINS-41476] Jenkinsfile fails with BOM

            Unassigned Unassigned
            larsskj Lars Skjærlund
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: