Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Pipeline is too slow or appears like hung when Maven Unit tests are run

Edited

We have quite a large set of unit tests and the total time needed to run all unit tests is about 25 minutes when tests are run on a developer machine. However, the same unit tests when run through Bitbucket Pipeline, it appears to be running forever and build fails due to time out (as the build timeout is set to 120 minutes). Can an expert advise how Bitbucket Pipeline can be configured to run my tests quicker? Please find the Pipeline our config YAML file for your reference. We tried with/without size: 2x and did not notice much difference. Our expectation is to finish running tests in ~ 25 mins (or less, if possible) and the current situation is that it seems to be taking > 120 mins and the build is timing out.

 

pipelines:
branches:
dev:
- step:
size: 2x
name: Deploy to Development
deployment: development
caches:
- maven
script:
- cd <project folder>
- mvn clean install 

 

1 answer

2 years later same issues lol

almost 3 years later, nothing changed lol

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events