When calling a variadic shared pipeline method, the method signature is not recognised when GStrings are used - it seems they are not being coerced to Strings correctly.
I have some simple shared libraries to demonstrate the issue:
And a pipeline script:
The final method call fails with the following error:
Workaround is to use Collection<String> instead of varargs. I saw this was addressed in
JENKINS-27893, which suggested JENKINS-32062 may have provided a fix - perhaps a regression has been introduced?