cicd-integrations
2023.4
false
  • Overview
    • About CI/CD pipelines
  • UiPath CLI
  • Azure DevOps extension
  • Jenkins plugin
UiPath logo, featuring letters U and I in white

CI/CD integrations user guide

Last updated Apr 28, 2025

Analyzing a project

Prerequisites:

To analyze a project, take the following steps:

  1. Run the package task, using uipcli package. You can see a list of the available sub-tasks.
  2. Specify the required parameters and run the analyze sub-task.

    See the list of parameters below.

Note:

Project validation is not performed by the Pack or Analyze tasks of UiPath CLI.

Legend: (*) - Optional, recommended when using additional package feeds.

Parameter

Description

--analyzerTraceLevel

Choose what types of messages to output after analyzing:

  • Off = don't show any message
  • Error

    -Warning

    -Info

    -Verbose.

-stopOnRuleViolation

The job fails when any rule is violated.

--treatWarningsAsErrors

Treat warnings as errors.

--resultPath

The full path to a JSON file where you want to store the results.

If you don't add this as an argument, then the results will print only in the standard console.

--ignoredRules

A list of rules that you want to ignore during the analysis, separated by commas.

--orchestratorUsername (*)

(Required if you use Basic Authentication, through a username and a password)

The username used for authenticating to Orchestrator. You must pair it with the corresponding password.

--orchestratorPassword (*)

(Required if you use Basic Authentication, through a username and a password)

The password used for authenticating to Orchestrator. You must pair it with the corresponding username.

-orchestratorAuthToken (*)

(Required if you use token-based authentication)

The OAuth2 refresh token used for authenticating to Orchestrator. You must pair it with the Account Name and Client ID.

--orchestratorAccountName (*)

(Required if you use token-based authentication)

The Orchestrator CloudRPA account name. You must pair it with the OAuth2 refresh token and Client ID.

--orchestratorAccountForApp (*)

The Orchestrator CloudRPA account name(organization name). You must pair it with the Application ID, Application Secret, and Application scope for external application.

--orchestratorApplicationId (*)

The external Application ID. You must pair it with the **Application Account, Application Secret, and Application scope.

--orchestratorApplicationSecret (*)

The external Application Secret. You must pair it with the Application Account, Application ID, and Application scope.

--orchestratorApplicationScope (*)

The list of application scopes, separated by single spaces. You must pair it with the Application Account, Application ID, and Application Secret for external application.

--orchestratorFolder (*)

The name of the target Orchestrator folder.

To input subfolders make sure to input both the parent folder name and the name of the subfolder. For instance, use AccountingTeam\TeamJohn.
--orchestratorUrl (*)

The URL of the Orchestrator instance.

--orchestratorTenant (*)

The tenant of the Orchestrator instance where you want to delete a machine.

-l,--language

The orchestrator language.

-y, --disableTelemetry

Disable telemetry data.

--traceLevel

Display the trace of the events.

-identityUrl (Required only for PaaS deployments) The URL of your identity server.

--disableBuiltInNugetFeeds

Disable built-in nuget feeds.

--help

Displays the parameters and examples for this command.

--version

Display version information.

Project(s) Path (pos.0) (Required) The path to the project.json file, or the path to the folder that contains multiple project.json files.

Usage:

package analyze <project_path> [--analyzerTraceLevel <analyzer_trace_level>] [--stopOnRuleViolation] [--treatWarningsAsErrors] [--saveOutputToFile] [--ignoredRules <activity_1_id,activity_2_id,activity_3_id,activity_4_id>] [--orchestratorUrl <orchestrator_url> --orchestratorTenant <orchestrator_tenant>] [--orchestratorUsername <orchestrator_user> --orchestratorPassword <orchestrator_pass>] [--orchestratorAuthToken <auth_token> --orchestratorAccountName <account_name>] [--orchestratorFolder <folder>]package analyze <project_path> [--analyzerTraceLevel <analyzer_trace_level>] [--stopOnRuleViolation] [--treatWarningsAsErrors] [--saveOutputToFile] [--ignoredRules <activity_1_id,activity_2_id,activity_3_id,activity_4_id>] [--orchestratorUrl <orchestrator_url> --orchestratorTenant <orchestrator_tenant>] [--orchestratorUsername <orchestrator_user> --orchestratorPassword <orchestrator_pass>] [--orchestratorAuthToken <auth_token> --orchestratorAccountName <account_name>] [--orchestratorFolder <folder>]

Examples:

  • package analyze "C:\UiPath\Project\project.json"

  • package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error"

  • package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error" --stopOnRuleViolation

  • package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error" --stopOnRuleViolation --treatWarningsAsErrors

  • package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error" --stopOnRuleViolation --treatWarningsAsErrors --resultPath "C:\UiPath\Project\output.json"

  • package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error" --stopOnRuleViolation --treatWarningsAsErrors --resultPath "C:\UiPath\Project\output.json" --ignoredRules "ST-NMG-009,ST-DBP-020,UI-USG-011,ST-DBP-020"

  • package analyze "C:\UiPath\Project\project.json" --analyzerTraceLevel "Error" --stopOnRuleViolation --treatWarningsAsErrors --resultPath "C:\UiPath\Project\output.json" --ignoredRules "ST-NMG-009,ST-DBP-020,UI-USG-011,ST-DBP-020" --orchestratorUrl "https://orchestratorurl.com" --orchestratorTenant "default" --orchestratorUsername "username" --orchestratorPassword "\_ye5zG9(x" --orchestratorAuthToken "AuthToken" --orchestratorAccountName "AccountName" --orchestratorFolder "OrchestratorFolder"

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2025 UiPath. All rights reserved.