- 概要
- UiPath CLI
- Azure DevOps 拡張機能
- Jenkins プラグイン

CI/CD 連携ユーザー ガイド
UiPath ソリューション パッケージをダウンロード
アプリケーション: ソリューション
種類: Post build task
[UiPath ソリューション: パッケージをダウンロード ] は、標準のジョブとパイプラインで利用できます。この機能を使用すると、既存の UiPath ソリューション パッケージを Orchestrator インスタンスから削除できます。
ソリューションは現在 Automation Cloud でのみサポートされています。Automation Suite のサポートは、今後のリリースで予定されています。オンプレミス (MSI) Orchestrator ではソリューションはサポートされていません。
このタスクは **UiPath.CLI.WindoworUiPath.CLI.Linux バージョン 25.10 以降にのみ対応しています。
構成
| ジョブのパラメーター | 説明 |
|---|---|
| パッケージ名 | ダウンロードするパッケージの名前です。 |
| ダウンロード先のパス | パッケージのダウンロード先のパスです。 |
| パッケージのバージョン | ダウンロードするパッケージの任意バージョンです。 |
| 宛先ファイル名 | パッケージ ファイルに特定の名前を設定するための任意のパラメーターです。省略した場合は、パッケージ名が使用されます。 |
| Orchestrator のアドレス | パッケージを削除する Orchestrator インスタンスのアドレスです。 |
| Orchestrator テナント | Orchestrator テナントを指定します。 |
| 認証 | Automation Cloud Orchestrator への認証を行うには、事前に Jenkins で資格情報を作成する必要があります。ソリューションは 外部アプリの認証のみをサポートします。外部アプリケーションの作成および必要な資格情報の取得について詳しくは、「 外部アプリケーションを管理する 」をご覧ください。 |
| トレース レベル | トレース ログを以下のいずれかのレベルで有効化するために使用する設定です。
|
パイプラインの例
pipeline {
agent any
environment {
MAJOR = '1'
MINOR = '0'
}
stages {
stage ('Solution Package Delete') {
steps {
script {
orchestratorCredentials = ExternalApp(
applicationId: 'External application identifier',
applicationScope: 'AutomationSolutions Solutions.Deployments Solutions.Packages',
applicationSecret: 'External application secret',
accountForApp: 'Organization identifier'
)
UiPathSolutionDownloadPackage(
packageName: 'Name of the package',
packageVersion: '1.2.3',
destinationPath: 'destination/path',
fileName: 'Local file name',
orchestratorAddress: 'OrchestratorUrl',
orchestratorTenant: 'Tenant name',
credentials: orchestratorCredentials,
traceLevel: 'Information',
)
}
}
}
}
}
pipeline {
agent any
environment {
MAJOR = '1'
MINOR = '0'
}
stages {
stage ('Solution Package Delete') {
steps {
script {
orchestratorCredentials = ExternalApp(
applicationId: 'External application identifier',
applicationScope: 'AutomationSolutions Solutions.Deployments Solutions.Packages',
applicationSecret: 'External application secret',
accountForApp: 'Organization identifier'
)
UiPathSolutionDownloadPackage(
packageName: 'Name of the package',
packageVersion: '1.2.3',
destinationPath: 'destination/path',
fileName: 'Local file name',
orchestratorAddress: 'OrchestratorUrl',
orchestratorTenant: 'Tenant name',
credentials: orchestratorCredentials,
traceLevel: 'Information',
)
}
}
}
}
}