Hello,
Can anyone please explain how the uipath deploy works on this particular setup.
I have a jenkins master ( Server A) where the job is configured to run a uipath deploy on an agent ( Server B ) where i have uipath robot installed , the agent then talks to the orchestrator ( Server C) to deploy the package in a tenanat.
i am getting the below error
Get-UiPathAuthToken : An error occurred while sending the request.
12:06:00 At D:\jenkins\master\workspace\UIpath_Manual@tmp\UiPath.Extensions\1.0.7051.31454\UiPathPackage-Module.psm1:41 char:9
12:06:00 + Get-UiPathAuthToken -URL $orchestratorAddress -TenantName $te …
12:06:00 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:06:00 + CategoryInfo : NotSpecified: ( [Get-UiPathAuthToken], HttpRequestException
12:06:00 + FullyQualifiedErrorId : System.Net.Http.HttpRequestException,UiPath.PowerShell.Cmdlets.GetAuthToken
Add-UiPathPackage : An authentication token is required. Specify a value for -AuthToken on the cmdlet or call
12:06:00 Set-UiPathAuthToken for the session
12:06:00 At D:\jenkins\master\workspace\UIpath_Manual@tmp\UiPath.Extensions\1.0.7051.31454\UiPathPackage-Module.psm1:53 char:63
12:06:00 + … { Write-Host “Adding $"; Add-UiPathPackage -PackageFile "$”; Log -m …
12:06:00 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12:06:00 + CategoryInfo : NotSpecified: ( [Add-UiPathPackage], Exception
12:06:00 + FullyQualifiedErrorId : System.Exception,UiPath.PowerShell.Cmdlets.AddPackage
What am i missing here ? and what is the role of powershell here ?