How can I download all artifacts for appended builds in Artifactory?

arvidr

I’m trying to figure how to use Artifactory in a rather complicated build setup. We have several build machines doing multi hour builds of several components from the same code base.

I want Artifactory to consider all the artifacts resulting from one git hash to be one build, even if these were produced by several build machines. I also want to run tests on the build later and append test results to this build. And in the end, promote builds and download their artifacts.

My question is, how can this be achieved using the build integration feature in Artifactory?

I have tried the recent build append feature, which sounds perfect from the little documentation available. It can create a new aggregated build, consisting of several existing published builds. However, I can’t figure out how to use the aggregated build to anything useful (like downloading the aggregated artifacts), or am I missing something?

What is the intended purpose of the build append feature, if not what I’m after?

yahavi

The downloading from appended build feature is available since JFrog CLI 1.45.0.

All new functionality is transparent to the user. To download the build artifacts, run jfrog rt dl --build=<buildName>/<buildNumber>. If the build has an aggregated build, the aggregated build's artifacts will be downloaded too.

This is available for all JFrog CLI remote artifacts commands: Search, Download, Delete, Move, Copy, etc.

Usage example:

# Create and publish build a/1
jfrog rt upload foo.zip generic-local --build-name a --build-number 1
jfrog rt build-publish a 1

# Create build b/1
jfrog rt upload bar.zip generic-local --build-name b --build-number 1

# Append published build a/1 to b/1
jfrog rt build-append b 1 a 1

# Publish b 1
jfrog rt build-publish b 1

# Download foo.zip and bar.zip
jfrog rt download --build=b/1

Read more here.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How can I download (save) all the codes from Jupyter Notebook?

How can I download all emails with attachments from Gmail?

How can I download Maven artifacts within a plugin?

Pull all artifacts from Maven Artifactory instead of just JAR artifacts

Artifactory REST API: How can I find builds for an artifact?

list all artifacts in a repository on JFrog Artifactory

Can I download Bamboo built artifacts using Bamboo Rest - API?

How can I download last artifact in Artifactory?

why can't I download artifacts from JFrog repository?

Can I increase download timeout in Artifactory?

gitlab: how can i programatically download the artifacts issued at end of CI pipeline

Some artifacts download failing for under a repo in JFrog's Artifactory

How to versionate artifacts on Artifactory without overwriting

How can I automatically accept Artifactory EULA?

How can i remove these weird artifacts in VSCODE?

Is there a way i can download an image with text appended on it with react native

Artifactory API - List all artifacts for a package version

How to publish custom artifacts to Artifactory from TeamCity?

How can I download artifacts from teamcity 8.1.2 using C# code

How can I download all observations from Hue/Hive output?

Artifactory is caching artifacts that I didn't intend

Download artifacts archive from Artifactory

Artifactory deletes artifacts of previous builds

How can I deploy a release with multiple artifacts

How do I download the latest INTEGRATION verison of an artifactory dependency

JFrog Artifactory artifacts uploaded via jenkins dont show up in builds

How can i change attributes of appended <p> throught appended <button>

How do I use the artifactory REST api to search for artifacts by name since a specified date?

How can I download or install all of the dictionaries?