I'm using a sample flutter project to test this process and I've got analysis working on my (on-prem but remote) SonarQube server but I'm not getting any code coverage.
I'm using Azure DevOps 2020 and Sonarqube 8.5.1. I'm also using the Flutter Azure DevOps extension as I was having issues running the commands as CMD line tasks.
task: SonarQubePrepare@4
inputs:
SonarQube: 'Sonar-direct'
scannerMode: 'CLI'
configMode: 'file'
extraProperties: |
# Additional properties that will be passed to the scanner,
# Put one key=value per line, example:
# sonar.exclusions=*/.bin
sonar.login=$(sonar.login)
sonar.password=$(sonar.password)
Hi there.
I'm using a sample flutter project to test this process and I've got analysis working on my (on-prem but remote) SonarQube server but I'm not getting any code coverage.
I'm using Azure DevOps 2020 and Sonarqube 8.5.1. I'm also using the Flutter Azure DevOps extension as I was having issues running the commands as CMD line tasks.
I would appreciate any assistance...
My yaml pipeline looks like this...
trigger:
branches:
include:
- master
pr: none
jobs:
job: Test
pool: Default
steps:
#- task: FlutterTest@0
# inputs:
# projectDirectory: '$(Build.Repository.LocalPath)'
#- task: SonarQubePublish@4
# displayName: Run publish
# inputs:
# pollingTimeoutSec: '300'