UiPath Documentation
cicd-integrations
2022.10
false
CI/CD 連携ユーザー ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UiPath の Nuget パッケージをパブリッシュ

この UiPath タスクでは、既存の UiPath プロジェクトを NuGet パッケージ化できます。

構成

以下の表を使用して、[UiPath の NuGet パッケージをパブリッシュ] の入力を設定します。

引数説明
表示名 (必須) タスクの名前を入力します。
バージョン管理メソッドを選択 (必須) You can select an automatically generated version, use the project version, or define a new version. For more information, see Package Versions.
バージョン (必須) モダン フォルダーでの動的割り当て方法でのみ使用できます。 パッケージバージョンを指定すると、ビルドされたパッケージとそのソースのバージョン管理をより効率的に追跡できます。 たとえば、NuGet パッケージのバージョンのビルドに Microsoft のアセンブリ パターンを使用できます。[Major]。[マイナー]。[ビルド番号][リビジョン番号]

使用可能なオプションは次のとおりです。

  • AutoVersion: This option automatically updates the version to the next sequential number. You can use the following task configuration example:

    - task: UiPathPack@3
      inputs:
        versionType: AutoVersion
        projectJsonPath: '$(projectFolder)/project.json'
        outputPath: '$(Build.ArtifactStagingDirectory)\artifact-manifests'
    - task: UiPathPack@3
      inputs:
        versionType: AutoVersion
        projectJsonPath: '$(projectFolder)/project.json'
        outputPath: '$(Build.ArtifactStagingDirectory)\artifact-manifests'
    
    - task: UiPathPack@3 inputs: versionType: AutoVersion projectJsonPath: '$(projectFolder)/project.json' outputPath: '$(Build.ArtifactStagingDirectory)\artifact-manifests'
  • ManualVersion: With this option, you can specify your own version number. You can use the following task configuration example:

    - task: UiPathPack@3
      inputs:
        versionType: ManualVersion
        version: '$(Build.BuildNumber)'
        projectJsonPath: '$(projectFolder)/project.json'
        outputPath: '$(Build.ArtifactStagingDirectory)\artifact-manifests'
    - task: UiPathPack@3
      inputs:
        versionType: ManualVersion
        version: '$(Build.BuildNumber)'
        projectJsonPath: '$(projectFolder)/project.json'
        outputPath: '$(Build.ArtifactStagingDirectory)\artifact-manifests'
    
    - task: UiPathPack@3 inputs: versionType: ManualVersion version: '$(Build.BuildNumber)' projectJsonPath: '$(projectFolder)/project.json' outputPath: '$(Build.ArtifactStagingDirectory)\artifact-manifests'
  • CurrentVersion: This option keeps the version the same as specified in the project.json file. You can use the following task configuration example:

    - task: UiPathPack@3
      inputs:
        versionType: CurrentVersion
        projectJsonPath: '$(projectFolder)/project.json'
        outputPath: '$(Build.ArtifactStagingDirectory)\artifact-manifests'
    - task: UiPathPack@3
      inputs:
        versionType: CurrentVersion
        projectJsonPath: '$(projectFolder)/project.json'
        outputPath: '$(Build.ArtifactStagingDirectory)\artifact-manifests'
    
    - task: UiPathPack@3 inputs: versionType: CurrentVersion projectJsonPath: '$(projectFolder)/project.json' outputPath: '$(Build.ArtifactStagingDirectory)\artifact-manifests'
プロジェクトのパス (必須) パッケージ化するプロジェクトの場所を選択します。project.json ファイルへの直接パスまたは 1 つ以上のプロジェクトを含むディレクトリへの直接パスを選択できます。後者の場合は、各レベル 1 のプロジェクトは個別にパッケージ化されます。
出力の種類を選択 (手動バージョン管理の場合のみ必須) パッケージ化するプロジェクトの種類を設定します。None に設定すると、プロジェクトの種類はプロジェクトの JSON ファイルから抽出されます。サポートされているプロジェクトの種類は、「Process」、「Library」、「Tests」、「Objects」、「None」です。
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 の NuGet パッケージをパブリッシュ] の完全に解析された 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
  • 構成
  • YAML パイプライン

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得