Hi everyone:
I am trying to use jenkins to build my UiPath project.I tried two methods, but both failed and same errors “Pack result: LogInUser timed out”,here is the details:
- Windows Powershell:C:\Program Files (x86)\UiPath\Studio\UiRobot.exe pack “D:\workspace\workspace\dev-21001\booking_rpa\project.json” --output “D:\workspace\workspace\dev-21001\booking_rpa” -v 20200426.160000
17:12:29 [dev-21001] $ sh -xe C:\Users\Administrator\jenkins9061248097885928095.sh 17:12:29 + echo ‘C:\Users\Administrator\AppData\Local\UiPath\app-19.10.1\UiRobot.exe pack “D:\workspace\workspace\dev-21001\booking_rpa\project.json” --output “D:\workspace\workspace\dev-21001\booking_rpa” -v 20200424.141700’ 17:12:29 [dev-21001] $ powershell.exe -NonInteractive -ExecutionPolicy ByPass “& ‘C:\Users\Administrator\jenkins7315350081374322373.ps1’” 17:12:29 17:12:29 D:\workspace\workspace\dev-21001>C:\Users\Administrator\AppData\Local\UiPath\app-19.10.1\UiRobot.exe pack “D:\workspace\workspace\dev-21001\booking_rpa\project.json” --output “D:\workspace\workspace\dev-21001\booking_rpa” -v 20200424.141700
17:13:55 LogInUser timed out.
17:13:55 Build step ‘Windows PowerShell’ marked build as failure
17:13:55 Finished: FAILURE
- Jenkins plugin: uipath-automation-package,version: [1.0.3-beta]
16:25:40 expected plugin jar path is : /var/lib/jenkins/plugins/uipath-automation-package/WEB-INF/lib/uipath-automation-package.jar 16:25:40 extracting powershell modules to temp folder 16:27:14 extracted powershell modules to temp folder 16:27:14 [dev-21001] $ powershell.exe -NonInteractive -ExecutionPolicy ByPass “& ‘C:\Users\Administrator\jenkins7769216787108228894.ps1’” 16:27:14 WARNING: Some imported command names contain one or more of the following restricted characters: # , ( ) {{ }} & - 16:27:14 / \ $ ^ ; : " ’ < > | ? @ ` * % + = ~ 16:27:14 26.04.2020 16:27:08: Running pack with the arguments: -pack D:\workspace\workspace\dev-21001\booking_rpa\project.json -o D:\workspace\workspace\dev-21001@tmp\Output 16:28:40 26.04.2020
16:28:34: Pack result: LogInUser timed out.
16:28:40 ERROR: Failed to execute powershell session while importing the module and packing. Command : Import-Module ‘D:\workspace\workspace\dev-21001@tmp\UiPath.Extensions\1.0.7051.31454\RobotExecutor-PublicModule.psd1’ -Force;Import-Module ‘D:\workspace\workspace\dev-21001@tmp\UiPath.Extensions\1.0.7051.31454\UiPathPackage-Module.psd1’ -Force;Import-Module ‘D:\workspace\workspace\dev-21001@tmp\UiPath.PowerShell\19.4.0.17\UiPath.PowerShell.psd1’ -Force; Pack -projectJsonPath ‘D:\workspace\workspace\dev-21001\booking_rpa’ -outputFolder ‘D:\workspace\workspace\dev-21001@tmp\Output’ 16:28:40 Finished: FAILURE