How to move changeSet to a higher depth for REST calls

9 views
Skip to first unread message

Morne Joubert

unread,
Dec 4, 2014, 6:58:31 PM12/4/14
to jenkins...@googlegroups.com
I am currently debugging the p4-plugin SCM plugin that is written by Perforce.

The REST calls take too long since the changeSet list is created dynamically on the fly (and this might take very long if the P4 server is down,busy etc)

Looking at the code is seems there is a lot of classes with @ExportedBean(defaultVisibility=999) 
I was hoping i could mark the classes in the  p4-plugin  with @ExportedBean(defaultVisibility=-1 or @Exported(visibility=-1) so it doesn't display with depth=0 and hoping that the internal code wouldn't even be called.

e.g. if a job has 100 changes and i just want to call a rest call to see if a build has passed, i don't want 100 calls to p4 to get changes i don't need.

Is it at all possible to not call the logic to determine the changeSet list using  depth=0 ?

Morné 
Reply all
Reply to author
Forward
0 new messages