Does it take 40 seconds every time, for every single TFS command?
Can you see where the hang is in the build log (i.e. in the middle of doing a TFS operation, or at the start, before anything happens)? You could also try checking the thread dump — at $JENKINS_URL/computer/$NAME/threadDump — to see what Jenkins is doing in this time.
Are you always building on the same slaves, or a new slave for ~each build (e.g. cloud-provisioned builders, which are discarded often)?
-Chris On 31/03/15 20:45, Keith Marchen wrote:
On Tuesday, March 31, 2015 at 10:36:55 PM UTC-5, Keith Marchen wrote: We use TFS commands to get our source files for builds. But when we run them from Jenkins, they take around 40 seconds to execute. What could be the issue with our TFS configuration on Jenkins that is affecting execution of TFS commands? Thanks, Keith We have tested running the TFS scripts locally on the build server using same user and it runs fine. -- 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 <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/232a8c04-c8b4-4f48-ab03-9be7bb55d4eb%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/232a8c04-c8b4-4f48-ab03-9be7bb55d4eb%40googlegroups.com?utm_medium=email&utm_source=footer>. 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/551BB64A.6070408%40orr.me.uk. For more options, visit https://groups.google.com/d/optout.