unexpected char: 0xFFFF
Explaining why you get "unexpected char: 0xFFFF" from your Jenkinsfile.
Tags: jenkins, pipeline, groovy