question

DavidKim-4125 avatar image
0 Votes"
DavidKim-4125 asked ·

How to integrate a config file with an executable using Azure CLU. (T his is for Azure Dev Ops )

How to integrate a config file with an executable using Azure CLU. (This is for Azure Dev Ops )
The problem that I am running into is that I want to run and executable agains a file however the executable needs to use the configuration file. Not sure how to get the configuration file integrated into the script?

File to be acted upon by the executable- mail.json
Executable is uipath.studio.commandline.exe
Configuration file is ruleconfig.json

Creating a Azure DevOps pipeline using Azure CLI.
Azure CLI:


param (

$ProjectFilePath= $(Buildin.SourcesDirectory)\TESTREPO7\main.json

$ExecutableFilePath= $(Buildin.SourcesDirectory)\TESTREPO7\Studio.zip\Studio\UiPath.Studio.CommandLine.exe

$(Get-Date -Format 'yyyy-MM-dd-HH-mm-ss')-Workflow-Analysis.json

)
Write-Output “$(Get-Date -Format ‘HH:mm:ss’) - STARTED - Workflow Analyzer CLI Script”

$Command = “$ExecutableFilePath analyze -p $ProjectFilePath”
Invoke-Expression $Command | Out-File -FilePath $OutputFilePath

Write-Output “$(Get-Date -Format ‘HH:mm:ss’) - COMPLETED - Workflow Analyzer CLI Script”

not-supported-azure
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Monalla-MSFT avatar image
0 Votes"
Monalla-MSFT answered ·

@DavidKim-4125 - Thanks for reaching out.

Devops is not currently supported here on Microsoft QnA. The Community Members and Engineers are actively answering questions in dedicated forums here. Please post your question in that forum :
Developer Community

--please don't forget to Accept as answer if the reply is helpful--




·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.