This seems to be an open bug: https://issues.jenkins-ci.org/browse/JENKINS-38657
As a workaround, you can create another task of the locally old type and use the plugin in the old school non-pipelined script method. Then in your script pipeline, you simply run this task. I know this is an ugly adapter, but then you have a parameterizer for this adapter, and it works and works for almost everything :)
source
share