diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9940a5a..cc02a66 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -45,6 +45,9 @@ steps: cliProjectName: 'Unyleya - DevOps' cliSources: '$(System.DefaultWorkingDirectory)' +- powershell: | + $params = "$env:SONARQUBE_SCANNER_PARAMS" -replace '"sonar.branch.name":"[\w/,-.]*"\,?' + Write-Host "##vso[task.setvariable variable=SONARQUBE_SCANNER_PARAMS]$params" - task: VSBuild@1 inputs: solution: '$(solution)'