-
Bug
-
Resolution: Unresolved
-
Major
-
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.
[JENKINS-41476] Jenkinsfile fails with BOM
Component/s | New: workflow-cps-plugin [ 21713 ] | |
Component/s | Original: pipeline [ 21692 ] |
Attachment | New: Jenkinsfile [ 41624 ] |
Comment | [ Version 2.46.3 has the same problem ] |
Attachment | New: Jenkinsfile [ 47749 ] |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |