Skip to content

Instantly share code, notes, and snippets.

@gregorypilar
Created December 7, 2020 23:20
Show Gist options
  • Save gregorypilar/9c881838859f8b09bab32d0af6586c86 to your computer and use it in GitHub Desktop.
Save gregorypilar/9c881838859f8b09bab32d0af6586c86 to your computer and use it in GitHub Desktop.
$params = "$env:SONARQUBE_SCANNER_PARAMS" -replace '"sonar.branch.name":"[\w/,-.]*"\,?'
Write-Host "##vso[task.setvariable variable=SONARQUBE_SCANNER_PARAMS]$params"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment