On local it takes 1.5 mins and on bitbucket it takes 3 mins.
Are you already caching your Maven dependencies? It is a game changer.
Hi @shashank_pandey
If your memory settings in your YAML config are less than your available memory in your local environment - this would affect the build time. You might want to take a look at the size option in your step configuration if this is the case:
If you're still encountering issues - please raise a support ticket so we can troubleshoot this further with you:
Cheers!
- Ben (Bitbucket Cloud Support)
@Aron Gombas _Midori_ i am already caching Maven Dependencies.
@Ben I am currently using 4x.
Another thing is that for some pipelines, when i run the tests again and again the time is same for the some pipelines. But for some pipelines it is sometimes 1 min 25s and some times 1 min 40s (huge time gap), it shouldn't be happening. (i am talking here about execution time of the tests, not the bitbucket pipeline whole time)
Same Pipeline:
1st time
2nd time
It looks like you're new here. Sign in or register to get started.