You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Join now to unlock these features and more
I have a pom parent project on BitBucket (BB). I am using BB pipeline to Build and Test (mvn install) the project. I have another jar project that uses the previous pom project as parent but I cannot build this project since in the new container it loses the awereness of the parent pom project. So Ideally I need to push my pom artifact into BB so the jar project can pull it. Any suggestions on how to setup my pipeline, pom.xml and BB to achieve this if at all possible. Thank you.
It's not clear if the pom project and the jar project are part of the same Bitbucket repo. If they are, and if you have one pipeline with multiple steps, you can share files produced in one step with the following steps by using Bitbucket artifacts:
If you want to share files between different pipelines of the same repo or between pipelines of different repos, you could use an API call to upload a file to the Downloads section of the repo (in the step that produces this file):
Then, with a curl or wget command, you can download the file in the second pipeline.
Please keep in mind that if you use our API to upload a file to the Downloads section and a file with that name already exists there, then it will be replaced by the new file you upload.
Please feel free to reach out if you have any questions!