I am trying to use the standalone p4 unshelve in the pipeline code.
This works fine, except that it doesn't update the SCM changes / getAffectedFiles() ? at all.
This is done correctly in the normal sync step in a job when a shelved cl is passed in.
If this works then i can implement JENKINS-32761 using pipeline code.
At the moment this bug means i cannot move to using pipelines in some cases.
If i can get a hint on where to make the changes then i could see if i can help