Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How download Release Bundle V2 with jf rt dl #2781

Open
depoortere opened this issue Dec 3, 2024 · 1 comment
Open

How download Release Bundle V2 with jf rt dl #2781

depoortere opened this issue Dec 3, 2024 · 1 comment
Labels
question Further information is requested

Comments

@depoortere
Copy link

Hello,

i'm trying to download the artifacts referenced in Release Bundle V2 on my subscription xx.jfrog.io.
When i'm using this command : jf rt dl --build mybuild/buildnumber --project myproject, CLI download the artifact (jar/pom or tgz).

{
  "status": "success",
  "totals": {
    "success": 2,
    "failure": 0
  }
}

When i'm using this command : jf rt dl --bundle mybundle/bundleversion --project myproject, nothing happens :

{
  "status": "success",
  "totals": {
    "success": 0,
    "failure": 0
  }
}

The online documentation is unclear about Release Bundle V2 : https://jfrog.com/help/r/jfrog-artifactory-documentation/download-the-contents-of-a-release-bundle-v2
which send to this page : https://jfrog.com/help/r/jfrog-distribution-documentation/download-the-contents-of-release-bundles

Please, can you tell me if Release Bundle V2 can work or not with this CLI command ?

@depoortere depoortere added the question Further information is requested label Dec 3, 2024
@depoortere
Copy link
Author

With DEBUG i get this AQL Query :

items.find(
    {
        "$and":[{
            "release_artifact.release.name":"MyBundle",
            "release_artifact.release.version":"BundleVersion"
        }],
        "$or":[{
            "$and":[{
                "repo":{"$match":"*"},
                "path":{"$match":"*"},
                "name":{"$match":"*"}
            }]
        }]
    }
).include("name","repo","path","actual_md5","actual_sha1","sha256","size","type","modified","created","property")

When i use this in Postman, no result :

{
  "results": [],
  "range": {
    "start_pos": 0,
    "end_pos": 0,
    "total": 0,
    "limit": 500000
  }
}

JFrog CLI version: 2.72.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant