Include custom Analyze Project rules in CICD pipeline

Hi,
In our team we have customized rules for the workflow analyzer.
We also created an Azure pipeline to build our projects in CI/CD.
We would like to use these custom rules in our pipeline but we can’t find a way to do it. We have already created a governance file, which works well in Studio.
We have an on-premise server.
Thanks,

Hi

Are you able to run official rules from UiPath. The problem is only with custom rules?

Hi,
No, we don’t know how to run rules in a pipeline.

Hello,

2 years and still no answer… Our problem is still unresolved.

In our team we have customized error level of rules for the workflow analyzer.
We have already created a governance file, which works well in Studio.

We also created an Azure pipeline to build our projects in CI/CD. We then call the cli :

Copy-Item -Path "$(UiPathRulesConfigPath)" -Destination "$(Build.SourcesDirectory)" -Force

Uipcli args contents: {"type":"AnalyzeOptions","options":{"projectPath":"D:\\A\\001-1\\_work\\334\\s\\src\\project.json","stopOnRuleViolation":true,"treatWarningsAsErrors":false,"resultFilePath":"","ignoredRules":"","orchestratorUrl":"***","username":"***","password":***,"traceLevel":"Verbose","telemetryOrigin":"Azure","governanceFilePath":"D:\\A\\001-1\\_work\\334\\s\\uipath.policies.config","pipelineCorrelationId":"***","extensionClientOrganizationId":"***","extensionClientProjectId":"***","telemetryOriginVersion":"5.0.8087805","cliGetFlow":"CachedTool","language":"en-US"}}

But this does not work, we still have the UiPath default error levels.

We have an on-premise server.

Thanks,