Does every build need to sync the entire depot ?  That's very unusual; 
individual builds that get code from Perforce normally use a restricted 
client view to get only the sub-paths from the depot that they need.  In 
that situation, each Jenkins job would use a different client view and you 
shouldn't see much of a performance impact if you clean the workspace 
before each build. 

On Sunday, March 23, 2014 7:35:14 AM UTC-7, rginga wrote:
>
>  It certainly sounds like the perforce server’s have list what it thinks 
> is already in the workspace) is different from what is actually there.
>
>  
>
> My first thought is that none of these jobs can run at the same time.
>
> Second is an incremental update should be much shorter. Not short enough 
> for all jobs to use the exact same workspace definition?
>
>  
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *
> [email protected] <javascript:>
> *Sent:* Thursday, March 20, 2014 3:17 PM
> *To:* [email protected] <javascript:>
> *Subject:* Shared Perforce workspace
>
>  
>  
> Hello,
>  
>  
>  
> I have a Jenkins master that is set up share the same workspace for 
> Perforce. This is primarily because the depot is more than 40GB in size and 
> syncing this per job is prohibitive. The jobs are also set up to share a 
> single Perforce client workspace where each job modifies the client view to 
> sync on the files it needs.
>  
>  
>  
> The problem I am finding with this setup however is that each time a job 
> runs the files that were previously synced are gone. As far as I can tell 
> this is either happening because the job is cleaning up the workspace after 
> the job is done or due to having another job switch the client view which 
> causes the directories to be cleaned up. As you might imagine with such a 
> large depot this is very problematic. A single job takes at least 15 
> minutes to sync each time when in reality it shouldn't take more than a few 
> seconds.
>  
>  
>  
> I have double checked all of my settings, everything pertaining to 
> cleaning up workspaces is unchecked, force syncing disabled and so on. Does 
> anyone know why this might be happening? Perhaps there is a better way to 
> share the workspace for these jobs?
>  
>  
>  
> Thanks in advance,
>  
>  
>  
> Jean-Philippe Steinmetz
>  
> -- 
> 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 [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>  

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to