When using commandline.exe into a devops pipeline how is the rulesconfig.json integrated into this process below. Normally in a on premise machine rulesconfig.json is located within the user profile,… how do we handle this in devops? Please give specifics. Thank You.
param (
$ProjectFilePath= $(Buildin.SourcesDirectory)\TESTREPO7\RuleConfig.json
$ExecutableFilePath= $(Buildin.SourcesDirectory)\TESTREPO7\Studio.zip\Studio\UiPath.Studio.CommandLine.exe
$OutputFilePath= $(Buildin.SourcesDirectory)\$(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”