Bind Package Version CLI
Description: Binds a specified package version to an application. The package version will be considered a resource of the application. A package version can be bound to only one application at a time.
Command:
jf apptrust package-bind <application-key> <package-type> <package-name> <package-version>
Alias command: jf at pb
Command Options
Option | Required/Optional | Type | Description |
|---|---|---|---|
| required | string | The application key. Must be 2-64 lowercase alphanumeric characters, beginning with a letter (hyphens are supported). The key must be unique and immutable. |
| required | string | The package type (for example, |
| required | string | The package name. |
| required | string | The package version. |
| optional | string | The JFrog access token. |
| optional | string | The server ID configured using the |
| optional | string | The JFrog platform URL. |
| optional | string | The JFrog user name. |
Example
The following example binds version 4.5.5 of Maven package "my-maven" to application pizza-shop.
jf apptrust package-bind pizza-shop maven my.org:my-maven-package 4.5.5Updated 3 months ago
