My first attempts with pipeline failed trying to make the Clone Workspace Plugin work.
I could not find any descriptive example how to do that, so it's mostly guessing.
checkout([$class: 'CloneWorkspaceSCM', parentJobName: 'Job name', criteria: 'Any'])
which at least can be executed.
But the build hangs forever in the checkout step.
Am I doing it wrong or is it a bug? How to clone a workspace in a pipeline job?