Kwtoolstore
The kwtoolstore is a tool used to interact with a tool store through a Validate server configured to use it.
In order to use some of the following command options, you may need to have a specific permission level. See Enabling access to Klocwork projects for more information.
Usage
kwtoolstore <subcommand> [options]
where
- <subcommand> is any of the kwtoolstore subcommands covered in subsequent sections
- [options] are any of the options for the specified subcommand
You can also specify an arguments file for kwtoolstore or for kwtoolstore subcommands:
kwtoolstore <subcommand> @<arguments_file>
You can create an arguments file to specify your command line arguments. Each argument must be specified on a separate line. (If the arguments file contains multibyte characters, the file must be UTF-8 encoded.)
| Options | Description |
|---|---|
| @<arguments_file> | specifies a text file containing subcommands and options. Allows a very long command line. |
| --url http(s)://<validate_server_host>:<validate_server_port>/ | URL for the Validate Server. Use https:// if a secure Validate Server connection has been configured.
|
kwtoolstore delete
Deletes a file in the tool store.
Usage
kwtoolstore delete [options] <file-name>
Example
kwtoolstore delete --url http://server01.acme.com:8080 kwbuildtools.23.2.0.66.linux64.zip
kwtoolstore download
Downloads a file from your tool store, with an optional target directory.
Usage
kwtoolstore download [options] <file-name> <target-dir>
Example
kwtoolstore download --url http://server01.acme.com:8080 kwbuildtools.23.2.0.66.linux64.zip /space/klocwork/23.2/buildtools
kwtoolstore list
Lists all available files in the tool store.
Usage
kwtoolstore list [options]
Example
kwtoolstore list --url http://server01.acme.com:8080
Alternatively, you can run --file to specify the exact file in the store to get details for:
kwtoolstore list --url http://server01.acme.com:8080 --file kwbuildtools.23.2.0.66.linux64.zip
kwtoolstore upload
Uploads a file to your tool store.
Usage
kwtoolstore upload [options] <file-name>
Example
kwtoolstore upload --url http://server01.acme.com:8080 kwbuildtools.23.2.0.66.linux64.zip