- Overview
- UiPath CLI
- Azure DevOps extension
- Jenkins plugin

CI/CD integrations user guide
UiPath Manage Assets
uft-8
.
name,type,value,description
asset_1_name,text,asset_value,this is an test description # we can have comments
asset_2_name,integer,123
asset_3_name,boolean,false
asset_4_name,credential,"username::password"
name,type,value,description
asset_1_name,text,asset_value,this is an test description # we can have comments
asset_2_name,integer,123
asset_3_name,boolean,false
asset_4_name,credential,"username::password"
There are four types of assets:
- Text
- Integer
- Boolean
-
Credential. For the Credential you must encode the username and password by using
::
to separate the two fields.
Job parameter |
Description |
---|---|
Action |
What to do with the provided assets: deploy or delete. If a deployed asset exists then it will be updated instead. |
Orchestrator address |
The address of the Orchestrator instance where you'll deploy or update assets. |
Orchestrator tenant |
Specify the Orchestrator tenant onto which the assets will be deployed or updated. |
Orchestrator folder |
Specify the folder where assets will be deployed or updated. To input subfolders make sure to input both the parent folder
name and the name of the subfolder. For instance, use
AccountingTeam\TeamJohn .
|
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 . |
CSV File Path |
The path to the CSV file containing the asset details. The same file can be used to deploy or update the assets, although the type isn't required for updates. The
type field can also be empty, but the column must be present. For delete, only the name column is used, so the other columns can be empty, but they must be present.
You can set an optional description for each asset (for example:
type , value , description ). Make sure to remove any line breaks as each line is interpreted as a new asset.
|
Trace logging level |
Setting used to enable trace logging to one of the following levels:
|
pipeline {
agent any
environment {
MAJOR = '1'
MINOR = '0'
}
stages {
stage ('Build') {
UiPathAssets (
assetsAction: DeployAssets(),
credentials: Token(accountName: '', credentialsId: ''),
filePath: '${WORKSPACE}/test.csv',
folderName: 'Default',
orchestratorAddress: 'https://test-orchestrator.somedomain.com',
orchestratorTenant: 'Default',
traceLoggingLevel: 'None'
)
UiPathAssets(
assetsAction: DeleteAssets(),
credentials: UserPass('825c83c9-9a14-44eb-883a-af54f8078af0'),
filePath: '${WORKSPACE}/test.csv',
folderName: 'Default',
orchestratorAddress: 'https://test-orchestrator.somedomain.com',
orchestratorTenant: 'Default',
traceLoggingLevel: 'None'
)
}
}
}
pipeline {
agent any
environment {
MAJOR = '1'
MINOR = '0'
}
stages {
stage ('Build') {
UiPathAssets (
assetsAction: DeployAssets(),
credentials: Token(accountName: '', credentialsId: ''),
filePath: '${WORKSPACE}/test.csv',
folderName: 'Default',
orchestratorAddress: 'https://test-orchestrator.somedomain.com',
orchestratorTenant: 'Default',
traceLoggingLevel: 'None'
)
UiPathAssets(
assetsAction: DeleteAssets(),
credentials: UserPass('825c83c9-9a14-44eb-883a-af54f8078af0'),
filePath: '${WORKSPACE}/test.csv',
folderName: 'Default',
orchestratorAddress: 'https://test-orchestrator.somedomain.com',
orchestratorTenant: 'Default',
traceLoggingLevel: 'None'
)
}
}
}