Step by step guide to run UiPath script through Jenkins

Please help in setting up Jenkins job for UiPath, I have the required UiPath plugin installed on my Jenkins. Need help in configuring the job.

I have .nupkg file published, can I run it directly through this plugin?

Hi @neha.verma

Yes, you can run UiPath processes directly through the UiPath Jenkins plugin.

  1. Open your Jenkins instance and navigate to the Jenkins dashboard.
  2. Click on “New Item” to create a new job.
  3. Enter a name for your job and select “Freestyle project” as the job type. Then click “OK” to proceed.
  4. In the configuration page for your job, scroll down to the “Build” section and click on the “Add build step” dropdown.
  5. From the dropdown, select “UiPath” to add a UiPath build step.
  6. In the UiPath build step configuration, you’ll see several fields to fill out.


I need help with Execution part of the script, all the UiPath build options relate to UiPath Install, UiPath pack, UiPath assets. I need to run the UiPath Main.xaml from Jenkins.

Hi @neha.verma

  1. In your Jenkins job configuration, add a build step to execute a shell or batch command, depending on your Jenkins environment.
  2. In the shell or batch command, navigate to the directory where the UiPath Robot is installed. The default installation directory is typically C:\Program Files (x86)\UiPath\Studio on Windows.
  3. Use the UiRobot.exe command-line tool to execute the Main.xaml file. The command typically looks like this:

UiRobot.exe execute --file “path/to/Main.xaml”

Replace “path/to/Main.xaml” with the actual file path of your Main.xaml file.


Hi Nitya, thanks. Let me try this.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.