Skip to content

jf helm push with build-info fails to set properties on virtual Helm OCI repositories (404) #3663

Description

@gabrifrog

Is your feature request related to a problem? Please describe.
Yes. When jf helm push is run against a virtual Helm OCI repository with --build-name and --build-number, the Helm push succeeds, but the post-push build-info step fails to attach build properties and returns 404.

example:
jf helm push my-app-1.2.3.tgz \ oci://artifactory.example.com/helm-virtual \ --build-name my-app-build --build-number 42

Observed behavior:

  1. OCI push succeeds.

  2. CLI collects build info and resolves artifacts via AQL against helm-virtual.

  3. CLI calls the Storage Properties API against the virtual repo key:
    PUT /api/storage/helm-virtual/my-app/1.2.3?properties=build.name=...;build.number=...

  4. Artifactory returns 404 Not Found.

  5. CLI logs:
    Failed to set build properties on manifest folder: server response: 404

  6. Build info is saved locally, but build properties are not attached to the artifacts.
    The same command works when pushing directly to a local Helm OCI repo (helm-dev-local, helm-release-local), where the property PUT returns 204.

Describe the solution you'd like to see
When jf helm push is used with build-info flags against a virtual Helm OCI repository, the CLI should resolve the physical local repository before setting build properties — similar to existing behavior already supported in 'jf docker' in the CLI. ( for Docker in jfrog-cli-core PR #1393, which filters virtual-repo layer handling to the default deployment repository when setting build properties. Helm OCI build-info should follow the same principle.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions