How To Use Custom CLI Version Together With Jenkins Plugin?

How to use custom CLI version together with Jenkins plugin?

Question: How to use custom CLI version together with Jenkins plugin ?

Steps to add custom CLI to Jenkins pipeline.

  1. Prepare the build agent environment
    1. Install the required .net version and runtime as documented here
    2. For UiPath.CLI.Windows, install .NET 6.0.7or higher. Also install .NET Desktop Runtime, that comes with the .NET SDK as well. Refer prerequisites in the following link https://docs.uipath.com/test-suite/automation-cloud/latest/user-guide/uipath-command-line-interface#prerequisites

  1. Download CLI 23.6.x

  1. Place it on the build agent

  1. Add the Install Platform task to the Jenkins pipeline BEFORE the UiPath Pack task

  1. Configure the UiPath Install Platform task

Untitled.png

  1. Test Run the pipeline .