Build UiPath Pack in Jenkins Failing with ERROR: Failed to run the command

Started by user SHIVANK
Running as SYSTEM
Building in workspace C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo
[WS-CLEANUP] Deleting project workspace…
[WS-CLEANUP] Deferred wipeout is used…
[WS-CLEANUP] Done
The recommended git tool is: NONE
using credential d79c6778-804b-4946-a704-3094ba90bda8
Cloning the remote Git repository
Cloning repository https://github.com/shivankgarg-dev/Demo.git

C:\Users\shivank.garg\AppData\Local\Programs\Git\cmd\git.exe init C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo # timeout=10
Fetching upstream changes from GitHub .com/shivankgarg-dev/Demo.git
C:\Users\shivank.garg\AppData\Local\Programs\Git\cmd\git.exe --version # timeout=10
git --version # ‘git version 2.29.1.windows.1’
using GIT_ASKPASS to set credentials GitHub repository
C:\Users\shivank.garg\AppData\Local\Programs\Git\cmd\git.exe fetch --tags --force --progress – GitHub .com/shivankgarg-dev/Demo.git +refs/heads/:refs/remotes/origin/ # timeout=10
C:\Users\shivank.garg\AppData\Local\Programs\Git\cmd\git.exe config remote.origin.url github.com/shivankgarg-dev/Demo.git # timeout=10
C:\Users\shivank.garg\AppData\Local\Programs\Git\cmd\git.exe config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10
Avoid second fetch
C:\Users\shivank.garg\AppData\Local\Programs\Git\cmd\git.exe rev-parse “refs/remotes/origin/master^{commit}” # timeout=10
Checking out Revision cf74c59f329f5e04db686b8a2d90e2fb1d1866d3 (refs/remotes/origin/master)
C:\Users\shivank.garg\AppData\Local\Programs\Git\cmd\git.exe config core.sparsecheckout # timeout=10
C:\Users\shivank.garg\AppData\Local\Programs\Git\cmd\git.exe checkout -f cf74c59f329f5e04db686b8a2d90e2fb1d1866d3 # timeout=10
Commit message: “Test second commit”
First time build. Skipping changelog.
[Checks API] No suitable checks publisher found.
Expected plugin jar path on Jenkins master: C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\plugins\UiPath-automation-package\WEB-INF\lib\UiPath-automation-package.jar, extracting…
Extracting cli to temp folder C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo@tmp…done!
[net461] $ C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo@tmp\cli-1.0.7573.25446\lib\net461\uipcli.exe run C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo@tmp\uipcliargs6408925551681580152
ERROR: Failed to run the command
Expected plugin jar path on Jenkins master: C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\plugins\UiPath-automation-package\WEB-INF\lib\UiPath-automation-package.jar, extracting…
Extracting cli to temp folder C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo@tmp…done!
[net461] $ C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo@tmp\cli-1.0.7573.25446\lib\net461\uipcli.exe run C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo@tmp\uipcliargs6361469329055549773
ERROR: Step ‘UiPath Deploy’ failed: Failed to run the command
Expected plugin jar path on Jenkins master: C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\plugins\UiPath-automation-package\WEB-INF\lib\UiPath-automation-package.jar, extracting…
Extracting cli to temp folder C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo@tmp…done!
[net461] $ C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo@tmp\cli-1.0.7573.25446\lib\net461\uipcli.exe run C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins.jenkins\workspace\DevOps_Demo@tmp\uipcliargs4650128904240934630
ERROR: Step ‘UiPath Run tests’ failed: Failed to run the command
[Checks API] No suitable checks publisher found.
Finished: FAILURE

Hi RPA Fam,

Tyring to run a pipeline in Jenkins for UiPath Build, Deploy and Test process. All plugins are in place. Fetching from Git repository is getting successful in Workspace location, but BUILD od UiPath Pack fails with the error “Failed to run the command”.

Any help please?

Thanks

Hello shivank.garg.sg

I was having the same problem and I was able to fix it by installing Jenkins with a local user account. If you left the default Jenkins value “Local Service Account” option you will get this.

Try to change/reinstall Jenkins to solve this

3 Likes

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