Skip to content

Instantly share code, notes, and snippets.

@Mishco
Created June 2, 2022 08:34
Show Gist options
  • Save Mishco/02d4a7022335a2a8c42b5b8be3a0898d to your computer and use it in GitHub Desktop.
Save Mishco/02d4a7022335a2a8c42b5b8be3a0898d to your computer and use it in GitHub Desktop.
- powershell: |
$params = "$env:SONARQUBE_SCANNER_PARAMS" -replace '"sonar.pullrequest.*":"[\w,/,-]*"\,?'
Write-Host "##vso[task.setvariable variable=SONARQUBE_SCANNER_PARAMS]$params"
displayName: "Remove pull request info"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment