Hi Mr. Björn, Humm didn't know that Notepad++ was adding the BOM mark. Great to know that. I just tested now, without the BOM mark, and everything works ok.
So, maybe, Jenkins should give a more reasonable error message in these cases? I mean, if the problem is the BOM mark, why complain about bad script sintax? I searched for some time in internet, and found no reference about this cause. Regards, Pablo. quinta-feira, 23 de Agosto de 2018 às 01:49:27 UTC-3, Björn Pedersen escreveu: > > Hi, > > >> 2) Create it with Notepad++, choose UTF-8 encoding, save it and >> commit/push to a Git branch; >> > > > And I guess that is where the byte-order mark slips in (thats something > that happens mostly on Windows systems, and it's invisible in the file). > Check > https://notepad-plus-plus.org/community/topic/14355/encoding-without-bom-where > > to see how to write a file without BOM mark at the beginning. > > Björn > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e60bffd4-2b24-4bf7-92d5-71e6391f6fc2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.