cicd-integrations
2023.4
false
CI/CD 集成用户指南
- 概述
- UiPath CLI
- Azure DevOps 扩展程序
- Jenkins 插件
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
使用 UiPathPack 任务,您可以将现有的 UiPath 项目打包到 NuGet 包中。
配置
使用下表配置 UiPath Pack 输入。
| 参数 | 描述 |
|---|---|
| 显示名称是必填项 | 输入租户的名称。 |
| 选择版本控制方法(必需) | You can select an automatically generated version, use the project version, or define a new version. For more information, see Package Versions. |
| 版本(必填项) | 仅与动态分配策略一起在新式文件夹中可用。手动指定包版本可更高效追踪已生成的包及其源版本控制。例如,可利用 Microsoft 程序集模式生成 NuGet 包版本:[Major].[Minor].[BuildNumber].[RevisionNumber]。
可用的选项包括:
|
| 项目路径(必填) | 选择要打包的项目的位置。该位置可为 project.json 文件的直接路径,或包含一个或多个项目的目录。如果是后者,则针对每个级别,系统均会分别打包每个项目。 |
| 选择输出类型(仅手动版本控制需要) | 为要打包的项目设置项目类型。 如果设置None ,则将从项目的 JSON 文件中提取项目类型。支持以下项目类型:“流程”、“库”、“测试”、“对象”、“无”。
|
| 需要 Orchestrator 连接。 | Configure the service connection to access UiPath Orchestrator services. You can configure a connection only for this step or use an existing global connection. For more information, see Configuring UiPath Orchestrator service connection. |
| 输出路径(必填) | 设置要放置包的文件夹路径。 |
| 运行工作流分析 | Select this option to run workflow analysis rules on your automation project (e.g., Fail jobs in case of errors). By default, this option is not activated. For more information, see Application Testing Workflow Analyzer Rules. |
| 追踪级别 | 从下拉列表中选择用户。 |
YAML 管道
您可以为 UiPath 包预览完全解析的 YAML 文档。
- task: UiPathPack@2
inputs:
#versionType: AutoVersion # Options: AutoVersion, CurrentVersion, ManualVersion
#version: '1.0.0' # Required when versionType == ManualVersion
#projectJsonPath: '$(Build.SourcesDirectory)\MyFirstProcess'
#outputPath: '$(Build.ArtifactStagingDirectory)\Packages\MyFirstProcess'
#outputType: 'None' # Options: Process, Library, Tests, Objects, None
#runWorkflowAnalysis: 'False'
#orchestratorConnection: 'service-connection-name' # Service connection to UiPath Orchestrator,
#traceLevel: 'None' # Options: Critical, Error, Warning, Information, Verbose, None
- task: UiPathPack@2
inputs:
#versionType: AutoVersion # Options: AutoVersion, CurrentVersion, ManualVersion
#version: '1.0.0' # Required when versionType == ManualVersion
#projectJsonPath: '$(Build.SourcesDirectory)\MyFirstProcess'
#outputPath: '$(Build.ArtifactStagingDirectory)\Packages\MyFirstProcess'
#outputType: 'None' # Options: Process, Library, Tests, Objects, None
#runWorkflowAnalysis: 'False'
#orchestratorConnection: 'service-connection-name' # Service connection to UiPath Orchestrator,
#traceLevel: 'None' # Options: Critical, Error, Warning, Information, Verbose, None