- Overview
- UiPath CLI
- About UiPath CLI
- Downloading UiPath CLI
- Compatibility matrix
- Running UiPath CLI
- Managing NuGet feeds
- Trusting custom certificates
- Test Manager Support
- Packing projects into a package
- Signing project packages
- Analyzing a project
- Deploying a package to Orchestrator
- Running a job inside Orchestrator
- Testing a package or running a test set
- Testing multiple packages
- Input parameters JSON format
- Deploying assets to Orchestrator
- Deleting assets from Orchestrator
- Running tasks using JSON configuration
- Restoring automation dependencies
- Troubleshooting UiPath CLI
- Azure DevOps extension
- Jenkins plugin
UiPath Deploy step configuration for deploying NuGet packages to Orchestrator via Jenkins.
Application: RPA
Type: Post-Build task
UiPath Deploy is available in standard jobs and pipelines, and lets you deploy a UiPath NuGet package onto UiPath Orchestrator.
Configuration
| Job parameter | Description |
|---|---|
| Package(s) path | The folder that holds your UiPath nuget package(s). |
| Orchestrator address | The address of the Orchestrator instance onto which the package(s) will be deployed. |
| Orchestrator tenant | The Orchestrator tenant onto which the package(s) will be deployed. |
| Orchestrator folder (Required) | The folder to deploy to. If the folder is a Classic folder, you'll also need to set the The step rejects an empty value, even though UiPath CLI 25.4 and later accept a deployment without a folder. For a library package, specify any folder that your account can access; the value does not affect where the library is stored. To omit the folder entirely, call |
| Environments ( Required for Classic folders) | The environment onto which the package will be deployed as a process. For the project and environment with existing processes, the processes will be updated to use the latest project version. Specify the environment onto which the package will be deployed as a process. For the project and environment with existing processes, the processes will be updated to use the latest project version. |
| Entry Points | Specify entry points to create or update a process. The entry point specifies the filePath starting from the root of the project. Conditions:
|
| Authentication | For authentication towards Orchestrator, you need to create credentials in Jenkins upfront. There are four options to authenticate: ( 1 ) Authenticate to an on-premise Orchestrator using username and password. ( 2 ) Authenticate to a cloud Orchestrator using a refresh token (API key) . ( 3 ) Authenticate to a cloud Orchestrator using external app authentication . ( 4 ) Authenticate to an on-premise Orchestrator using . |
| Trace logging level | Setting used to enable trace logging to one of the following levels:
|
Make sure that your network allows access to the following NuGet package feed:
- https://api.nuget.org/v3/index.json
- https://uipath.pkgs.visualstudio.com/\\\_packaging/nuget-packages/nuget/v3/index.json
- https://uipath.pkgs.visualstudio.com/Public.Feeds/\\\_packaging/UiPath-\* Internal/nuget/v3/index.json
- https://www.myget.org/F/workflow
- http://www.myget.org/F/uipath
- https://www.myget.org/F/uipath-dev/api/v3/index.json
Pipeline example
pipeline {
agent any
environment {
MAJOR = '1'
MINOR = '0'
}
stages {
stage ('PostBuild') {
steps {
UiPathDeploy (
packagePath: "path\\to\\NuGetpackage",
orchestratorAddress: "OrchestratorUrl",
orchestratorTenant: "tenant name",
folderName: "folder name",
environments: "environment",
credentials: [$class: 'UserPassAuthenticationEntry', credentialsId: "credentialsId"],
traceLoggingLevel: 'None'
)
}
}
}
}
pipeline {
agent any
environment {
MAJOR = '1'
MINOR = '0'
}
stages {
stage ('PostBuild') {
steps {
UiPathDeploy (
packagePath: "path\\to\\NuGetpackage",
orchestratorAddress: "OrchestratorUrl",
orchestratorTenant: "tenant name",
folderName: "folder name",
environments: "environment",
credentials: [$class: 'UserPassAuthenticationEntry', credentialsId: "credentialsId"],
traceLoggingLevel: 'None'
)
}
}
}
}