set custom-attribute

Sets the custom attribute to the specified value on artifacts.

Aliases:

set custom-attributes, set ca

Usage:

set custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] <key> <value> <files...> [-d/--directory <arg>]

set custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] <key> <value> -v/--file <arg ...> [-d/--directory <arg>]

set custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] <key> <value> -S/--stream <arg ...>

set custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] <key> <value> -s/--snapshot <arg> [--snapshot-workspace <arg>]

set custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] <key> <value> -b/--baseline <arg> [--baseline-component <arg>]

set custom-attribute [-r/--repository-uri <arg>] [-u/--username <arg> -P/--password <arg> | -u/--username <arg> --password-file <arg> | --certificate <arg> -P/--password <arg> | --smartCard -u/--username <arg> | --kerberos | --integratedWindows] <key> <value> -C/--component <arg ...>

key The name of the custom attribute to retrieve.
value The value of the custom attribute.
files The files for which to set the custom attribute to the specified value. If no object type is specified, the set command will default to file type.

Options:

-r, --repository-uri <arg> The URI that specifies the location of the repository.
-u, --username <arg> The user name for the repository.
-P, --password <arg> The password for the repository.
    --password-file <arg> File that contains the user's password.
    --certificate <arg> The file that contains the user's login certificate.
    --smartCard Use the connected smart card for authentication.
    --kerberos Authenticate with Windows user credentials using Kerberos/SPNeGO.
    --integratedWindows Authenticate with Windows user credentials using Integrated Windows Authentication.
-d, --directory <arg> Specifies the root of the shared file system.
-v, --file <arg ...> The files for which to set the custom attribute to the specified value. If no object type is specified, the set command will default to file type.
-S, --stream <arg ...> This option indicates the stream to set custom attributes for. To specify the stream, use its name[@repo], alias, or UUID[@repo].
-s, --snapshot <arg> This option indicates the snapshot to set custom attributes for. To specify the snapshot, use the snapshot name[@repo], alias, or UUID[@repo].
    --snapshot-workspace <arg> The workspace or stream that is associated with the snapshot. To specify the workspace or stream, use its name, alias, or UUID.
-b, --baseline <arg> This option indicates the baseline to set custom attributes for. To specify the baseline, use the baseline name[@repo], alias, or UUID[@repo].
    --baseline-component <arg> The component for the baseline. This option is required if you specify the baseline by using anything other than an alias or UUID.
-C, --component <arg ...> This option indicates which component to set custom attributes for. To specify the component, use the component name[@repo], alias, or UUID[@repo].


Example