The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how can i dowload the Artifact for a java project using bitbucket

yosser.mahfoudh
September 28, 2020

hi team , 

please i need help , how can downolad an artifact on my laptop ? knowing that i'm working on a java project . 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 29, 2020

Hi @yosser.mahfoudh ,

Thank you for your question!

Just, add to your build step a keyword `artifacts`. Also, we have a good example for Java project.

More details you could find following the Use artifacts in steps guide.

yosser.mahfoudh
September 29, 2020

hi Oleksandr ,

please i have  a question , after artifacts what should i put ? 

yosser.mahfoudh
September 29, 2020

i dont know where  i can find my artifact 

/root/.m2/repository/mass/masster/2.2.1.9957/ppp-2.2.1.9957.jar  

where i can find this path please ? 

Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 29, 2020

@yosser.mahfoudh as usual it should be path to the build directory.

In your special case it could be:

pipelines:
default:
- step:
script:
     - <your build logic>
artifacts:
- .m2/repository/mass/masster/2.2.1.9957

 But make sure that your follow build versioning.

yosser.mahfoudh
September 29, 2020

when i run mvn install , that path is diplayed .  so i don't know to access to it.  

yosser.mahfoudh
September 29, 2020

this path " /root/.m2/repository/mass/masster/2.2.1.9957/ppp-2.2.1.9957.jar "

TAGS
AUG Leaders

Atlassian Community Events