@@ -3,33 +3,59 @@ package helmcommand
33var Usage = []string {"helm <helm arguments> [command options]" }
44
55func GetDescription () string {
6- return "Run native Helm command"
6+ return "Run native Helm command with build-info collection support. "
77}
88
99func GetArguments () string {
10- return ` Examples:
10+ return ` helm arguments
11+ Helm command and arguments to execute. All standard Helm commands are supported.
12+
13+ Command Options:
14+ --build-name Build name.
15+ --build-number Build number.
16+ --module Optional module name for the build-info.
17+ --project Project key for associating the build with a project.
18+ --server-id Artifactory server ID configured using the config command.
19+ --repository-cache Path to the Helm repository cache directory.
20+ --username Artifactory username.
21+ --password Artifactory password.
22+
23+ Examples:
1124
1225 $ jf helm push mychart-0.1.0.tgz oci://myrepo.jfrog.io/helm-local --build-name=my-build --build-number=1
1326
1427 $ jf helm package ./mychart --build-name=my-build --build-number=1
1528
1629 $ jf helm dependency update ./mychart --build-name=my-build --build-number=1
1730
18- Commands:
19-
20- install Install a chart.
31+ $ jf helm package . --build-name=my-build --build-number=1 --server-id=my-server
2132
22- upgrade Upgrade a release.
33+ Supported Commands:
2334
2435 package Package a chart directory into a chart archive.
36+ Collects build-info including chart dependencies.
37+
38+ push Push a chart to a remote registry (OCI).
39+ Collects build-info for the pushed chart.
2540
26- push Push a chart to remote.
41+ dependency Manage a chart's dependencies.
42+ The 'dependency update' command collects build-info for downloaded dependencies.
43+
44+ pull Download a chart from a remote registry.
45+
46+ install Install a chart.
2747
28- pull Download a chart from remote .
48+ upgrade Upgrade a release .
2949
3050 repo Add, list, remove, update, and index chart repositories.
3151
32- dependency Manage a chart's dependencies .
52+ help, h Show help for any command .
3353
34- help, h Show help for any command.`
54+ Build Info Collection:
55+ The helm command automatically collects build-info when used with --build-name and --build-number.
56+ Build-info is collected for:
57+ - Chart artifacts (when using 'push' commands)
58+ - Chart dependencies (when using 'package' or 'dependency update' commands)
59+
60+ Use 'jf rt build-publish' to publish the collected build-info to Artifactory.`
3561}
0 commit comments