Skip to content

Script to download published artifact from JFrog Artifactory

Notifications You must be signed in to change notification settings

e88z4/jfrog-artifact-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Build Artifact Extractor

Download artifacts from JFrog Artifactory base on build name and build number

Running from shell scripting

./artifact-downloader.sh -b [BUILD_NAME] -n [BUILD_NUMBER]

Running with Docker

docker run --rm -it build-artifact-extractor:latest ./artifact-downloader.sh -b my_build_name -n my_build_number

Running the script inside Dockerfile in multistage build

FROM build-artifact-extractor:latest AS artifact-downloader
ARG BUILD_NAME
ARG BUILD_NUMBER
CMD ./artifact-downloader.sh -b ${BUILD_NAME} -n ${BUILD_NUMBER}

FROM openjdk:latest
COPY --FROM=artifact-downloader /my.jar /my.jar
CMD java -jar /my.jar

About

Script to download published artifact from JFrog Artifactory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published