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é 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/79d77687-da63-4d70-8a7e-52a7e672dae3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to