<< Back to previous view |
![]() |
[QB-4070] Git clone takes longer in QB
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 12.0.12 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Nitin Turkar | Assigned To: | Robin Shen |
Resolution: | Won't Fix | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
Hi Robin,
We have configured GitHub repository under Repositories section. When we trigger the build, it starts the clone process on worker node and takes around 7 minutes to complete the clone. But when the same clone command is directly tried on same worker node, it takes less than 2 minutes. Could you please advise what can be the issue? Please let me know if you want additional information. Thanks & Regards, Nitin |
Comments |
Comment by Nitin Turkar [ 25/Jan/24 06:49 AM ] |
Hi Robin, Apologies, by mistake i selected the wrong version. The correct version is 12.0.12. Thanks |
Comment by Robin Shen [ 26/Jan/24 12:23 AM ] |
QB runs several git commands during build, including repository clone (in bare mode), branch/tag fetching, log command, code checkout, etc. To find out which stage takes most of the time, please edit "conf/log4j2.xml" to add below log statement on the node running master step of your build:
<Logger name="com.pmease.quickbuild.execution" level="DEBUG" /> Also edit general setting of the configuration to use DEBUG log level, then run the build again, and check both the agent log of the node running master step, and the build log for various git command being executed. |
Comment by Robin Shen [ 22/Jan/25 11:20 AM ] |
Feel free to reopen if there is more info |