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.
- Prepare the build agent environment
- Install the required .net version and runtime as documented here
- 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
- Download CLI 23.6.x
- Place it on the build agent
- Add the Install Platform task to the Jenkins pipeline BEFORE the UiPath Pack task
- Configure the UiPath Install Platform task
- Test Run the pipeline .