I am new to the Bitbucket and have just moved my source code (a maven-based Java program) to the Bitbucket.
Originally the maven pom.xml had the following dependency to a ZIP-file with some testdata which has resided in a repository manager:
Of course now the Bitbucket's pipeline has no access to that repository and cannot build.
Thank you for your time!
- What is the proper way to solve the testdata dependency in the new Bitbucket's integration environment?
The proper way is implement a public maven repository manager with platforms like nexus or artifactory https://dzone.com/articles/maven-repository-manager-nexus. That saves time and headache.
Steps could be :
a.- Install your MyTestdata as maven dependency to your maven repository manager
b.- Add some configurations to your pom.xml and settings.xml in order to download your MyTestdata as maven dependency. Heroku allow setting,xml override. Bitbucket must too.
You will not need to add extra configuration in your bitbucket pipeline.
We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...
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