ReSharper Azure DevOps Pipeline integration

Hello there

I used to use the task from Alan Wales to combine the Azure Devops continuous integration pipeline with ReSharper: https://github.com/alanwales/vsts-resharper-code-quality-task.

But as ReSharper changed the output format and the repository isn't actively maintained anymore, I wanted to ask, if there are alternatives to combine Azure DevOps and ReSharper? ChatGPT suggests using a PowerShell, but this seems a hassle and it would be great to see the warnings/errors directly.

I'm considering creating an own task, but I'm pretty sure this is a very common problem, as running ReSharper in CI seems like a common idea.

Therefore, I would like to know, if there are alternatives to the task mentioned above, ideally supported by Jetbrains directly.

With best regards


Matthias

1
4 comments
Official comment

Hi Matthias Müller !

Nope, we are not aware of such integrations and don't have our own one.

Hey Matthias Müller ! You can try the Qodana Azure DevOps extension. It uses Qodana for .NET under the hood for .NET projects, which is based on the ReSharper Command Line Tools. If you don't want to use the cloud to observe the analysis results, you can display a Qodana report summary directly in Azure DevOps UI, as described here. If you have any questions regarding setting everything up, feel free to contact the Qodana support team https://qodana-support.jetbrains.com/hc/en-us/. Hope it helps. 

0

Alexander Kurakin Thank you, looks promising. 

For future reference: I've meanwhile created my own little task https://marketplace.visualstudio.com/items?itemName=DrMueller2.ReSharperRunner, which runs the cli, scans the SERAF file, and outputs respectively fails the task depending on the configuration.

1

Please sign in to leave a comment.