How to download the builds that you made


#1

Hi, so I did a build, and I want to download the JAR file. Where would I access that


#2

To be able to access any files after the build is done, you would need to set them as build artifacts.

You can get more info on that here: https://circleci.com/docs/build-artifacts/


#3

Ok, I don’t understand what I need to do. Sorry for my ignorence…


#4

Assuming you have a file named program.jar, you would add the following to your circle.yml file:

general:
  artifacts:
    - "program.jar"

This will cause that file to show in the artifacts tab of your build results.

Modify the path as needed.

ref: https://circleci.com/docs/configuration/#artifacts


#5

Ok, I will add that. But how do I know what my jar file is named?


#6