UiPath Package in Azure Pipeline

I have downloaded UiPathPackage plugin for Azure DevOps. I am trying to use the same to pack and deploy the build into orchestrator. While deploy, we need to enter the tenant name. What do I need to enter here as orchestrator has the new cloud platform. @loginerror (Hope it is fine to tag people)

I got an error as below in the build while deploy.

Hi @rahulraj987

I edited your post (removed one image) due to it potentially containing your credentials (I wasn’t sure, but it is better to be safe than sorry).

As to the issue, I am not an expert on our infrastructure myself, but I know for sure that the Cloud Platform orchestrator might be more restrictive as far as configuring your own set of activity feeds.

Was it this plugin from Azure DevOps marketplace?
https://marketplace.visualstudio.com/items?itemName=uipath.vsts-uipath-package

If so, then I checked the documentation and it publishes the package via the API:
image

However, the Cloud Platform does not support basic authentication any more and will therefore not work with this plug-in, unfortunately. It will only work for now with the custom installation of Orchestrator that is still based on the old bearer token authentication.

1 Like

Is this a supported plugin by uipath? Or is it by a separate developer?

Also can you please advice how can I set up my CI/CD for uipath in Azure devOps

Rahul,
thx for the question.
UiPath Jenkins plugin is hosted by UiPath and atm available in public beta release. All kinds of feedback from your side are well received and will be discussed internally when planning future enhancements.

Concerning Azure Devops:
We have got a similar plugin available on Azure marketplace (https://marketplace.visualstudio.com/items?itemName=uipath.vsts-uipath-package)
If you need any additional support here pls let me know.

Best regards
Thomas

3 Likes

Isn’t this the same package in azure marketplace that i was referring to
? @ThomasStocker

1 Like

@ThomasStocker Does this work for community edition orchestrator?(the cloud one) The orchestrator address I give is “https://platform.uipath.com” and tenant name as below

image

PFB the console output after I changed the orchestrator URL to the new URL:

09.10.2019 17:00:57: Pack result:
expected plugin jar path is : C:\Program Files (x86)\Jenkins\plugins\uipath-automation-package\WEB-INF\lib\uipath-automation-package.jar
extracting powershell modules to temp folder
extracted powershell modules to temp folder
[Robotics_TestCICD] powershell.exe -NonInteractive -ExecutionPolicy ByPass "& 'C:\WINDOWS\TEMP\jenkins2952211419108739406.ps1'" WARNING: Some imported command names contain one or more of the following restricted characters: # , ( ) {{ }} [ ] & - / \ ^ ; : " ’ < > | ? @ ` * % + = ~
09.10.2019 17:01:29: Deploying C:\Program Files (x86)\Jenkins\workspace\Robotics_TestCICD@tmp to https://platform.uipath.com/RMESIDefault/RMESIDefault/
Get-UiPathAuthToken : Unable to deserialize the response.
At C:\Program Files
(x86)\Jenkins\workspace\Robotics_TestCICD@tmp\UiPath.Extensions\1.0.7051.31454\UiPathPackage-Module.psm1:41 char:9

  •     Get-UiPathAuthToken -URL $orchestratorAddress -TenantName $te ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:slight_smile: [Get-UiPathAuthToken], SerializationException
    • FullyQualifiedErrorId : Microsoft.Rest.SerializationException,UiPath.PowerShell.Cmdlets.GetAuthToken

09.10.2019 17:01:30: Found 0 packages to upload to https://platform.uipath.com/RMESIDefault/RMESIDefault/
Finished: SUCCESS