-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: p4-plugin
-
None
I'm currently syncing with a pipeline/groovy step like this:
checkout(
[$class: 'PerforceScm',
credential: 'my-p4-credentials',
populate:
[$class: 'ForceCleanImpl',
have: false,
parallel: [enable: false,
minbytes: '1024',
minfiles: '1',
path: '/usr/local/bin/p4',
threads: '4'],
pin: p4shelf, // <--! this variable is the shelf CL
quiet: true],
workspace: [$class: 'TemplateWorkspaceImpl',
charset: 'auto',
format: 'jenkins-${NODE_NAME}-${JOB_NAME}',
pinHost: false,
templateName: p4branch]])
However, I doubt the 'pin' is doing anything useful—regardless of my comment. Is there any way to convince the p4 SCM to checkout or unshelve?
Thanks!