From c546a80409840209f7a2962aae1d826d95848dfb Mon Sep 17 00:00:00 2001 From: Naveen Kumar Date: Tue, 6 Jan 2026 16:06:47 +0530 Subject: [PATCH 1/4] Update jfrog-cli-artifactory version --- go.mod | 4 ++-- go.sum | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index a42f09b79..e6ed459fd 100644 --- a/go.mod +++ b/go.mod @@ -16,10 +16,10 @@ require ( github.com/docker/docker v28.5.2+incompatible github.com/gocarina/gocsv v0.0.0-20240520201108-78e41c74b4b1 github.com/jfrog/archiver/v3 v3.6.1 - github.com/jfrog/build-info-go v1.13.1-0.20251230063402-e9f0a3564df1 + github.com/jfrog/build-info-go v1.13.1-0.20260106060835-a1a07c967546 github.com/jfrog/gofrog v1.7.6 github.com/jfrog/jfrog-cli-application v1.0.2-0.20251231144110-a68c3ac11c7a - github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260102083738-35bd3de75e6c + github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260106103112-0375923b3c08 github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20260105150109-78d708a6d70e github.com/jfrog/jfrog-cli-evidence v0.8.3-0.20251225153025-9d8ac181d615 github.com/jfrog/jfrog-cli-platform-services v1.10.1-0.20251205121610-171eb9b0000e diff --git a/go.sum b/go.sum index d04389f15..c5f3624ff 100644 --- a/go.sum +++ b/go.sum @@ -1204,8 +1204,8 @@ github.com/jellydator/ttlcache/v3 v3.4.0 h1:YS4P125qQS0tNhtL6aeYkheEaB/m8HCqdMMP github.com/jellydator/ttlcache/v3 v3.4.0/go.mod h1:Hw9EgjymziQD3yGsQdf1FqFdpp7YjFMd4Srg5EJlgD4= github.com/jfrog/archiver/v3 v3.6.1 h1:LOxnkw9pOn45DzCbZNFV6K0+6dCsQ0L8mR3ZcujO5eI= github.com/jfrog/archiver/v3 v3.6.1/go.mod h1:VgR+3WZS4N+i9FaDwLZbq+jeU4B4zctXL+gL4EMzfLw= -github.com/jfrog/build-info-go v1.13.1-0.20251230063402-e9f0a3564df1 h1:ZT/hph6QcpTi9Fam9MJiouJ6g0H8Hx9p2Mnah2zPnks= -github.com/jfrog/build-info-go v1.13.1-0.20251230063402-e9f0a3564df1/go.mod h1:+OCtMb22/D+u7Wne5lzkjJjaWr0LRZcHlDwTH86Mpwo= +github.com/jfrog/build-info-go v1.13.1-0.20260106060835-a1a07c967546 h1:fgwqFjfRJ/P9tmk0xPO3FE3gXeHMFFoBV7MOIlcDRc0= +github.com/jfrog/build-info-go v1.13.1-0.20260106060835-a1a07c967546/go.mod h1:+OCtMb22/D+u7Wne5lzkjJjaWr0LRZcHlDwTH86Mpwo= github.com/jfrog/froggit-go v1.20.6 h1:Xp7+LlEh0m1KGrQstb+u0aGfjRUtv1eh9xQBV3571jQ= github.com/jfrog/froggit-go v1.20.6/go.mod h1:obSG1SlsWjktkuqmKtpq7MNTTL63e0ot+ucTnlOMV88= github.com/jfrog/go-mockhttp v0.3.1 h1:/wac8v4GMZx62viZmv4wazB5GNKs+GxawuS1u3maJH8= @@ -1216,10 +1216,8 @@ github.com/jfrog/jfrog-apps-config v1.0.1 h1:mtv6k7g8A8BVhlHGlSveapqf4mJfonwvXYL github.com/jfrog/jfrog-apps-config v1.0.1/go.mod h1:8AIIr1oY9JuH5dylz2S6f8Ym2MaadPLR6noCBO4C22w= github.com/jfrog/jfrog-cli-application v1.0.2-0.20251231144110-a68c3ac11c7a h1:XoJ3w2AFi7zniimALNK3idw9bzY9MwB/FM45TMgxYAY= github.com/jfrog/jfrog-cli-application v1.0.2-0.20251231144110-a68c3ac11c7a/go.mod h1:xum2HquWO5uExa/A7MQs3TgJJVEeoqTR+6Z4mfBr1Xw= -github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260102083738-35bd3de75e6c h1:M+rFtXyVuK//0zDk7dtA3Yu8cKHJrT9us2pxYPsoIq4= -github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260102083738-35bd3de75e6c/go.mod h1:RneaDbEkoOAAHs6mAVxK666EB8GrNaCyNwyS452vVd0= -github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20260105134514-c8ec00cfd2cc h1:YOpq/LS+mQfeL2FQvyVxDvCLUx/dG1NG4Jh1QqjxRD8= -github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20260105134514-c8ec00cfd2cc/go.mod h1:REkU0OfnLYZbQIjD2Cg85DAVP0SRZuV/PxiDfCJiJOc= +github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260106103112-0375923b3c08 h1:4RSJd1gle57vL1cg9l79uefFVALVf4gOO75kDHYfy50= +github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260106103112-0375923b3c08/go.mod h1:blx8Hf2ohjzfyS0sbovtWXpzYW4CT/tEHO37+0MWsco= github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20260105150109-78d708a6d70e h1:3zPWT3HDxBe9xxUZVBP77pLh9x++CR131Y9GXNeAGJM= github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20260105150109-78d708a6d70e/go.mod h1:REkU0OfnLYZbQIjD2Cg85DAVP0SRZuV/PxiDfCJiJOc= github.com/jfrog/jfrog-cli-evidence v0.8.3-0.20251225153025-9d8ac181d615 h1:y5an0bojHL00ipHP1QuBUrVcP+XK+yZHHOJ/r1I0RUM= From 40e8b341135374efb1fbb70ab8b727c3ca60fca2 Mon Sep 17 00:00:00 2001 From: Naveen Kumar Date: Tue, 6 Jan 2026 16:37:01 +0530 Subject: [PATCH 2/4] Update helm docs --- docs/buildtools/helmcommand/help.go | 46 ++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/docs/buildtools/helmcommand/help.go b/docs/buildtools/helmcommand/help.go index 99e3fa521..492af6988 100644 --- a/docs/buildtools/helmcommand/help.go +++ b/docs/buildtools/helmcommand/help.go @@ -3,11 +3,24 @@ package helmcommand var Usage = []string{"helm [command options]"} func GetDescription() string { - return "Run native Helm command" + return "Run native Helm command with build-info collection support." } func GetArguments() string { - return ` Examples: + return ` helm arguments + Helm command and arguments to execute. All standard Helm commands are supported. + + Command Options: + --build-name Build name. + --build-number Build number. + --module Optional module name for the build-info. + --project Project key for associating the build with a project. + --server-id Artifactory server ID configured using the config command. + --repository-cache Path to the Helm repository cache directory. + --username Artifactory username. + --password Artifactory password. + + Examples: $ jf helm push mychart-0.1.0.tgz oci://myrepo.jfrog.io/helm-local --build-name=my-build --build-number=1 @@ -15,21 +28,34 @@ func GetArguments() string { $ jf helm dependency update ./mychart --build-name=my-build --build-number=1 - Commands: - - install Install a chart. + $ jf helm package . --build-name=my-build --build-number=1 --server-id=my-server - upgrade Upgrade a release. + Supported Commands: package Package a chart directory into a chart archive. + Collects build-info including chart dependencies. + + push Push a chart to a remote registry (OCI). + Collects build-info for the pushed chart. - push Push a chart to remote. + dependency Manage a chart's dependencies. + The 'dependency update' command collects build-info for downloaded dependencies. + + pull Download a chart from a remote registry. + + install Install a chart. - pull Download a chart from remote. + upgrade Upgrade a release. repo Add, list, remove, update, and index chart repositories. - dependency Manage a chart's dependencies. + help, h Show help for any command. - help, h Show help for any command.` + Build Info Collection: + The helm command automatically collects build-info when used with --build-name and --build-number. + Build-info is collected for: + - Chart artifacts (when using 'push' commands) + - Chart dependencies (when using 'package' or 'dependency update' commands) + + Use 'jf rt build-publish' to publish the collected build-info to Artifactory.` } From f442ac4e4d03547cfeb58087e5e8a2b468024446 Mon Sep 17 00:00:00 2001 From: Naveen Kumar Date: Tue, 6 Jan 2026 17:03:43 +0530 Subject: [PATCH 3/4] Update helm docs --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index e6ed459fd..ada887ce8 100644 --- a/go.mod +++ b/go.mod @@ -19,7 +19,7 @@ require ( github.com/jfrog/build-info-go v1.13.1-0.20260106060835-a1a07c967546 github.com/jfrog/gofrog v1.7.6 github.com/jfrog/jfrog-cli-application v1.0.2-0.20251231144110-a68c3ac11c7a - github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260106103112-0375923b3c08 + github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260106112150-9bbbed50f111 github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20260105150109-78d708a6d70e github.com/jfrog/jfrog-cli-evidence v0.8.3-0.20251225153025-9d8ac181d615 github.com/jfrog/jfrog-cli-platform-services v1.10.1-0.20251205121610-171eb9b0000e diff --git a/go.sum b/go.sum index c5f3624ff..d7d7c74e2 100644 --- a/go.sum +++ b/go.sum @@ -1216,8 +1216,8 @@ github.com/jfrog/jfrog-apps-config v1.0.1 h1:mtv6k7g8A8BVhlHGlSveapqf4mJfonwvXYL github.com/jfrog/jfrog-apps-config v1.0.1/go.mod h1:8AIIr1oY9JuH5dylz2S6f8Ym2MaadPLR6noCBO4C22w= github.com/jfrog/jfrog-cli-application v1.0.2-0.20251231144110-a68c3ac11c7a h1:XoJ3w2AFi7zniimALNK3idw9bzY9MwB/FM45TMgxYAY= github.com/jfrog/jfrog-cli-application v1.0.2-0.20251231144110-a68c3ac11c7a/go.mod h1:xum2HquWO5uExa/A7MQs3TgJJVEeoqTR+6Z4mfBr1Xw= -github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260106103112-0375923b3c08 h1:4RSJd1gle57vL1cg9l79uefFVALVf4gOO75kDHYfy50= -github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260106103112-0375923b3c08/go.mod h1:blx8Hf2ohjzfyS0sbovtWXpzYW4CT/tEHO37+0MWsco= +github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260106112150-9bbbed50f111 h1:u8+iLkvPDD5F/huoRgm3fhzXBobPOKiUsQuYZy8kXN8= +github.com/jfrog/jfrog-cli-artifactory v0.8.1-0.20260106112150-9bbbed50f111/go.mod h1:blx8Hf2ohjzfyS0sbovtWXpzYW4CT/tEHO37+0MWsco= github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20260105150109-78d708a6d70e h1:3zPWT3HDxBe9xxUZVBP77pLh9x++CR131Y9GXNeAGJM= github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20260105150109-78d708a6d70e/go.mod h1:REkU0OfnLYZbQIjD2Cg85DAVP0SRZuV/PxiDfCJiJOc= github.com/jfrog/jfrog-cli-evidence v0.8.3-0.20251225153025-9d8ac181d615 h1:y5an0bojHL00ipHP1QuBUrVcP+XK+yZHHOJ/r1I0RUM= From 9f4d882c4fa05922e21a846958922e50f1048801 Mon Sep 17 00:00:00 2001 From: Naveen Kumar Date: Tue, 6 Jan 2026 22:41:54 +0530 Subject: [PATCH 4/4] Updated hidden flag as false --- buildtools/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/cli.go b/buildtools/cli.go index e3b9482eb..3a676691d 100644 --- a/buildtools/cli.go +++ b/buildtools/cli.go @@ -351,7 +351,7 @@ func GetCommands() []cli.Command { UsageText: helmcommand.GetArguments(), ArgsUsage: common.CreateEnvVars(), SkipFlagParsing: true, - Hidden: true, + Hidden: false, BashComplete: corecommon.CreateBashCompletionFunc(), Category: buildToolsCategory, Action: HelmCmd,