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> -F/--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> |
| 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/--changeset <arg> |
| key | The name of the custom attribute to set. |
| value | The value of the custom attribute. |
| files | The files for which custom attribute is set. |
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. |
| -F, --file <arg ...> | The files for which custom attribute is set. |
| -S, --stream <arg ...> | The streams for which custom attribute is set. To specify the stream, use its name[@repo], alias, or UUID[@repo]. |
| -s, --snapshot <arg> | The snapshot for which custom attribute is set. 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> | The baseline for which custom attribute is set. 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> | The component for which custom attribute is set. To specify the component, use the component name[@repo], alias, or UUID[@repo]. |
| -c, --changeset <arg> | The change set for which custom attribute is set. To specify the change set, use its alias or UUID[@repo]. |
Example