MarketplaceStudioConnectorUiPath Tasks for Azure DevOps

Create your first automation in just a few minutes.Try Studio Web

UiPath Tasks for Azure DevOps

UiPath Tasks for Azure DevOps

by UiPath

2

Connector

External Clicks

<100

Parvathy Suresh
Posted 3 years ago

I have tried to create a pipeline in azure devops with orchestrator

thisi is the rror message i am getting

##[error]No agent found in pool Default which satisfies the specified demands: npm, Agent.Version -gtVersion 2.163.1

This is the yaml file

Starter pipeline

Start with a minimal pipeline that you can customize to build and deploy your code.

Add steps that build, run tests, deploy, and more:

https://aka.ms/yaml

trigger:

- main

stages:

- stage: TestDEV

displayName:  Test After Publish

jobs:

- job: TestDEV

pool: Default

steps:

- task: UiPathTest@2

inputs:

testTarget: 'TestSet'

orchestratorConnection: 'Uipath'

testSet: 'Azure'

folderName: 'OutlookAutomation'

Kinldy resolve it asap :)

Thomas Stocker
Posted 3 years ago ago

This error is not raised by our plugin but by AzureDevops itself.

Seems your available build agents require the following dependencies:

npm, Agent.Version -gtVersion 2.163.1

In general, pls try to specifcy a Windows agent at the begin of your pipeline:

pool:

A windows agent is required to execute the plugin tasks

vmImage: windows-2022

鎮陽 謝
Posted 3 years ago

we got bewlow message when we run CICD in my company's network

_##[error]Unhandled: connect ETIMEDOUT 13.107.42.18:443_

I see UiPath Integration Extension file **UiPathPack.js** ,I found the timeout reason,

because **http.get** is not set proxy, it's anyway to set proxy for below code??

const c = `https://uipath.pkgs.visualstudio.com/Public.Feeds/_packaging/UiPath-Official/nuget/v3/flat2/UiPath.CLI/${t.cliPackageVersion}/UiPath.CLI.${t.cliPackageVersion}.nupkg`

function u(e, t) {

return new Promise(((n, o) => {

let c = new URL(e), l = { hostname: c.host, port: 443, path: c.pathname + c.search, method: "GET", secureProtocol: "TLSv1_2_method" }

s.get(l, (e => {

if ([301, 302, 303].indexOf(e.statusCode) > -1) n(u(e.headers.location, t))

else if (200 === e.statusCode) {

let o = i.createWriteStream(path.join(t, "uipcli.zip"))

e.pipe(o), o.on("close", (() => { console.log("CLI downloaded successfully, extracting..."), n(function (e, t) { return r(this, void 0, void 0, (function* () { return yield function (e, t) { return r(this, void 0, void 0, (function* () { return a(e, { dir: `${t}` }) })) }(e, t), path.join(t, "lib", "net461") })) }(o.path, t)) }))

} else o(`CLI download failed with status code ${e.statusCode}.`)

}))

}))

}

David E.
Posted 3 years ago

Hi, 

During the implementation of a CICD DevOps integration using the Azure DevOps Extension from UiPath and the issue is related with the “UiPath Manage Assets” regarding the creation of an asset.

The CSV file is generated according the estructure provided:

name,type,value
asset_1_name,text,asset_value

The issue is that there are some specific “,” (commas) in the values of the asset_value, for example:

name,type,value
Test 1,text,this is, a test

When the asset is generated using the task in AzureDevOps, the value of the asset generated in orchestrator is “this is” there is no creation of “this is, a test” because of the comma character.

Does anyone has faced this issue, how it is possible to scape this issue and generate the whole asset with many commas on its value?

Thanks

Thomas Stocker
Posted 3 years ago ago

David,

the latest plugin version addresses this problem. Pls confirm if the problem is solved now.

Jeet Doshi
Posted 3 years ago

Hi,

I am using UiPath Deploy task, which is failing due to below mentioned error. I have verified that the orchestrator is not using self-signed certificate and is accessible over internet. Using the same set of creds (Username, password and tenant) I am able to login from browser. Please let me know how to fix the same.

2022-03-10T09:22:35.9647006Z ##[section]Starting: UiPath Deploy

2022-03-10T09:22:35.9748947Z ==============================================================================

2022-03-10T09:22:35.9749282Z Task         : UiPath Deploy

2022-03-10T09:22:35.9749581Z Description  : Deploys a UiPath NuGet package onto UiPath Orchestrator.

2022-03-10T09:22:35.9749853Z Version      : 2.9.2361707

2022-03-10T09:22:35.9750064Z Author       : UiPath

2022-03-10T09:22:35.9751207Z Help         : 

2022-03-10T09:22:35.9751482Z ==============================================================================

2022-03-10T09:22:36.7324552Z CLI downloaded successfully, extracting...

2022-03-10T09:22:36.7417582Z (node:960) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

2022-03-10T09:22:37.6200502Z Caching tool: uipcli 1.0.8063-26639 x64

2022-03-10T09:22:38.1757277Z [command]D:\a\_temp\8n9nzd2xz\lib\net461\uipcli.exe run D:\a\_tasks\UiPathDeploy_72167370-9f1d-47d5-be00-6f2554c20001\2.9.2361707\DeployOptions.json

2022-03-10T09:22:45.3253530Z Failed to run the command. Could not connect to Orchestrator: https://***orch.sitaserpa.p.azurewebsites.net/ , Tenant: ***, Username: ***, Password: ***, OrganizationUnit: RV3-PROC, UseWindowsCredentials: False.

2022-03-10T09:22:45.3255270Z Please make sure that the provided URL (https://***orch.sitaserpa.p.azurewebsites.net/) is correct, available from your build agent, and not blocked by a firewall.

2022-03-10T09:22:45.3256524Z If the Orchestrator is using a self-signed SSL certificate, make sure that the build agent trusts it. Ensure that all the steps at https://docs.uipath.com/orchestrator/docs/self-signed-certificates were correctly followed when creating the certificate.

2022-03-10T09:22:45.3284947Z Stack trace:

2022-03-10T09:22:45.3300325Z    at UiPath.CommandLine.Clients.OrchestratorClientFactory.c__DisplayClass5_0.<g__HandleBuild|8>d.MoveNext()

2022-03-10T09:22:45.3314914Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3315984Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3319826Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3320955Z    at UiPath.CommandLine.Clients.OrchestratorClientFactory.d__5.MoveNext()

2022-03-10T09:22:45.3321908Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3322939Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3323847Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3324764Z    at UiPath.CommandLine.Services.Impl.DeployService.d__3.MoveNext()

2022-03-10T09:22:45.3325608Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3326524Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3327467Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3328500Z    at UiPath.CommandLine.Services.Impl.OptionsParser.c__DisplayClass7_0.<b__0>d.MoveNext()

2022-03-10T09:22:45.3329368Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3330305Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3331329Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3332159Z    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

2022-03-10T09:22:45.3333362Z    at UiPath.CommandLine.Services.Impl.OptionsParser.d__6.MoveNext()

2022-03-10T09:22:45.3334369Z System.InvalidOperationException: Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'Unauthorized'

2022-03-10T09:22:45.3337136Z    at UiPath.Web.Client19_10.Folders.d__5.MoveNext()

2022-03-10T09:22:45.3337971Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3338824Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3339658Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3340624Z    at UiPath.Orchestrator.Client.Util.ExceptionsHandler.d__1`1.MoveNext()

2022-03-10T09:22:45.3342155Z {"message":"You are not authenticated!","errorCode":0,"result":null,"targetUrl":null,"success":false,"error":{"code":0,"message":"You are not authenticated!","details":"You should be authenticated (sign in) in order to perform this operation.","validationErrors":null},"unAuthorizedRequest":true,"__abp":true}

2022-03-10T09:22:45.3343808Z    at UiPath.Orchestrator.Client.Util.ExceptionsHandler.d__1`1.MoveNext()

2022-03-10T09:22:45.3345323Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3346200Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3347131Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3379876Z    at UiPath.Orchestrator.Client.Endpoints.Folders.d__2.MoveNext()

2022-03-10T09:22:45.3380767Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3381379Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3382003Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3382639Z    at UiPath.Orchestrator.Client.OrchestratorClient.d__88.MoveNext()

2022-03-10T09:22:45.3383220Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3383806Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3384462Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3385102Z    at UiPath.Orchestrator.Client.OrchestratorClient.d__87.MoveNext()

2022-03-10T09:22:45.3385682Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3386256Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3386873Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3387514Z    at UiPath.Orchestrator.Client.OrchestratorClient.d__84.MoveNext()

2022-03-10T09:22:45.3388086Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3388690Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3389302Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3389945Z    at UiPath.Orchestrator.Client.OrchestratorClientFactory.d__6.MoveNext()

2022-03-10T09:22:45.3390520Z --- End of stack trace from previous location where exception was thrown ---

2022-03-10T09:22:45.3391197Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

2022-03-10T09:22:45.3391809Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

2022-03-10T09:22:45.3392506Z    at UiPath.CommandLine.Clients.OrchestratorClientFactory.c__DisplayClass5_0.<g__HandleBuild|8>d.MoveNext()

2022-03-10T09:22:45.3797505Z ##[error]Error deploying package: Error: The process 'D:\a\_temp\8n9nzd2xz\lib\net461\uipcli.exe' failed with exit code 1.

2022-03-10T09:22:45.3855282Z ##[section]Finishing: UiPath Deploy

Thomas Stocker
Posted 3 years ago ago

Hello Jeet,

according to the call stack provided the error message is:

"You are not authenticated"

Assuming you credentials, OR URL and folder name are correct?

Did deploy work beforehand?

If so, lets discuss in a quick zoom chat to further discuss. Pls reach out on thomas.stocker[at]uipath.com

Sahil Wadhwa
Posted 3 years ago

Go we a git hub link for this extension , there was previously available but is not working as of now

Thomas Stocker
Posted 3 years ago ago

Hello Sahil,

this is the link to the GitHub repo - here you can state questions but the code is not public.

https://github.com/UiPath/Extensions

Samih Al-Areqi
Posted 3 years ago

Dears, I need help with the  error of  "ould not find member 'robotsIds' on object of type 'RunJobOptions'", this occured when I select the "Specific strategy" of running a job with classic folder ! Also I faced this error when I used Dynamic strategy with modern folder as I should to enter user and machine id !

Note  Dynamic strategy with classic folder is working fine.

Thomas Stocker
Posted 3 years ago ago

Hi Samih,

 I was able to reproduce the issue.

We will look into it and try to fix the problem in the upcoming release.

Kevin van Hengst
Posted 4 years ago

Hi,

We're trying to deploy to an on-premise orchestrator with an Azure DevOps Server on which outgoing connections have to be whitelisted. We are currently running into some issues and getting an `ETIMEDOUT ` error and I am wondering what out-going connections the tasks require, so I can whitelist them accoridingly.

Kind regards.

Samih Al-Areqi
Posted 4 years ago

I have issue with using UiPath Run Job task!

When I use strategy: 'Specific' and robotsIds: 'botid1' I get the following error

"Newtonsoft.Json.JsonSerializationException: Could not find member 'robotsIds' on object of type 'RunJobOptions'. Path 'robotsIds', line 4, position 14."

However, it is working fine when I am not using robotsIds!!

Thomas Stocker
Posted 3 years ago ago

Hi Samih,

thx for reporting. I was able to reproduce the issue.

We will look into it and try to fix the problem in the upcoming release.

Michael Riera
Posted 4 years ago

Hi,

When trying to use the Pack command for a Library it seems to not actually produce a package in the folder that it says. The pack stage will successfully complete and the deploy stage will fail due to the package not being in the folder. I'm not sure what is happening. It seems to be giving me an error that it can't find the runtime.json and in other runs it tells me that it's missing the WindowsPlatformManifest.txt and the PlatformManifest.txt. I'm able to get the pipeline working when I write out a powershell script but that doesn't seem to have the ability to package anything other than a Process and deploy to Processes, I need the ability to also deploy Libraries and ideally Templates. However, when I switch to the Pack commands that are available in the assistant in Azure DevOps as they have the added functionality that I need - I come across these errors.

Thomas Stocker
Posted 3 years ago ago

Michael,

this sounds like the project you want to pack/deploy is of type xplatform? We currently dont support this project type but we are working on a solution expected in one of our upcoming releases.

If the problem is different, pls let us know.

Richard Neil Flores Durán
Posted 4 years ago

Hi, I have implemented a deploy on DevOps; it's linked to DevOps repository from UI Path Studio. This deploy release the package to Orchestrator; all works well but I have an issue; when I make a change and I commit this changes, the commit comments are visible on DevOps well, but when I check on Orchestrator there are no comments loaded. 

Is there any way to send the comments from DevOps to Orchestrator from the release pipeline?

Thanks.

Thomas Stocker
Posted 3 years ago ago

Richard,

I assume you would like to see some sort of log on the package that was deployed to OR?

I am wondering where you would expect this message, right now packages on Orchestrator seem to hold a version field, but no comment field.

Any feedback is highly welcome.

BR

Yolanda Quiroga
Posted 4 years ago

I can´t create asset in subfolders. I get the next error:

UiPath.Orchestrator.Client.Exceptions.OrganizationUnitInitializationException: Folder Procesos/RPA could not be found. Please make sure that this folder exists on Orchestrator, that your user has at least one role with the Folder View and SubFolder View permissions, and that the user has permissions to access the folder.

I´ve permission of folder administrator and administrator in orchestrator.

Thomas Stocker
Posted 3 years ago ago

Yolanda,

* does it work if you use a root folder only? (e.g. Procesos)

* does it work if you use a backslash for the folder structure?

Karine Comte
Posted 4 years ago

Hello,

For processes and libraries, we succes in building the package and deploying it into the Orchestrator from ADO.

But for projet templates, we failed to do it.

We have tried to publish the template as library but it failed because of the type of the template which isn't "library".

We have tried another thing : package as a process but, when ADO deploy it, he don't publish it into librairies (it should by published here in order to be available as a projet template from Studio)... Can you help us please ?

Thomas Stocker
Posted 3 years ago ago

Karine,

can you pls reach out to thomas.stocker@uipath.com and provide the project that you want to deploy as zip?

thx

Publisher

UiPath

Visit publisher's page

Trusted Source

License & Privacy

License Agreement

Privacy Terms

Technical

Updated

December 20, 2021

Works with

Studio: 20.4 - 22.10

Application

Microsoft Azure

Support

Link: https://www.uipath.com/company/contact-us/contact-technical-support

UiPath Standard Support, see your Service Agreement.

Resources