qacli validate connect

Manage the mapping between a Perforce QAC project and a Validate project.

Usage

connect {-L|-S <validate project>|-R} [-n] -P <directory> [-U <[protocol://]host:port>] [--] [-h]

Extended Description

Results can be uploaded to the Validate server. This utility allows you to associate a Perforce QAC project to a project on the Validate server. You can then push results to the Validate server.

Options

Name, shorthand Default Description
--help, -h   Displays usage information and exits.
--ignore-rest, --   Ignores the rest of the labeled arguments following this flag.
--list, -L  

Show which Validate project the Perforce QAC project is linked to.

--no-sync-suppressions, -n   By default, diagnostics and suppressions will be synchronized with the Validate server when the connection is created. Use this option with the --set option to disable the synchronization.
--qaf-project, -P  

Specify a path to a valid Perforce QAC project to act upon.

--remove, -R  

Remove the connection between the Perforce QAC project and the Validate project/stream.

--set, -S  

Link the specified Validate project, which must already exist, with the given Perforce QAC project.

--url, -U  

URL of the results server. By default the http protocol is assumed.

Examples include: localhost:80, 127.0.0.1:8080, https://prometheus:8888

Examples

Link a Perforce QAC Project to a Validate Project

To link a Perforce QAC project (in the current directory) to an existing project (called mungo) on the Validate server, issue a command such as:

qacli validate connect -P . --url prometheus:8888 --set mungo

To get a list of projects on the Validate server issue a command such as:

qacli validate projects --url prometheus:8888 --list

Show Which Validate Project You are Linked To

To show which Validate project a Perforce QAC project (in the current directory) is linked to:

qacli validate connect -P . --list

Remove a Link to a Validate Project

To remove the link between a Perforce QAC project (in the current directory) and the Validate project:

qacli validate connect -P . --remove