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.
name: Deploy to Development
- cd <project folder>
- mvn clean install
Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their Jira Cloud instance. ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events