We are using Azure DevOps to deploy our packages to our Orchestrator environments. Does anyone know of a way to deploy files from a UiPath package to a storage bucket as part of an Azure DevOps pipeline? We are storing files there that are used by the automation during execution.
Hi @joe.foster
You can use the Azure CLI task in Azure DevOps to run a command that uploads files to the storage bucket. The Azure CLI task allows you to run Azure commands directly in your pipeline.
Regards,
Kaviyarasu N
Thank you, @Kaviyarasu_N ! I will look into this activity!
@Kaviyarasu_N would you happen to have an example of a command that would perform this or a similar action?
Hi @joe.foster
You need to know the programming language to achieve the above result. Try the alternative methods below.
- Create a custom activity in UiPath Studio that uses the Orchestrator API to upload the required files to the storage bucket. You can use the “HTTP Request” activity to send a request to the Orchestrator API endpoint for uploading a file.
- In the Azure DevOps pipeline, add a UiPath task that runs the custom activity created in step 1. You can use the “UiPath Robot” task or the “UiPath Studio” task to execute the custom activity.
- Configure the UiPath task to use the appropriate Orchestrator credentials and provide the input arguments required by the custom activity.
2 Likes
Thanks again, @Kaviyarasu_N !
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.