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

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

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 "

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events