Pipeline plugin with Perforce - PerforceScm unable to disable changelog

336 views
Skip to first unread message

Soumya Balakrishnan

unread,
Feb 29, 2016, 4:28:06 PM2/29/16
to Jenkins Users
Hey, 
I was trying to use the pipeline plugin. I am stuck at using the checkout feature using perforce.
From the DSL reference I found on jenkins, I tried formulating the command.
The command seems to be able to sync the required files, but then tries to get the list of changes on those files and then fails with the error -  "Too many rows scanned (over 8000000); see 'p4 help maxscanrows'."

I can't seem to find the "changelog:false" or any similar option for PerforceScm.

node{
  checkout ([$class:'PerforceScm', credential:'<cred-id>', changelog:false, charset:'none', workspace:[$class:'ManualWorkspaceImpl', name:'pipeline-dsl', spec:[view:'//depot-view/... //pipeline-dsl/workspace-view/...']], populate:[$class: 'SyncOnlyImpl']])
}

I also tried using the PerforceSCM, this however doesn't even sync the files:
node {
  checkout ([$class:'PerforceSCM',p4user:'<user-id>', p4Passwd:'password', p4Port:'<server-port>', p4Charset:'none' ,firstChange:<???>, fileLimit:200, depotType:[clientSpec:'//depot-view>/... //workspace/<workspace-view>/...']])
}
What should be the value of firstChange when I just wanted to sync the latest revision?

I really hope you can help with this.
Do let me know what I might be missing.

Thanks,
Soumya
Reply all
Reply to author
Forward
0 new messages