skip to Main Content

Azure – wrong Az.Acoounts version being used

I have these tasks in a pipeline I'm using that is failing because it is using Az.Accounts version earlier than 2.19.0 (2.17.0) - task: PowerShell@2 displayName: 'Install Az.Accounts' inputs: pwsh: true targetType: 'inline' script: 'Install-Module -Name Az.Accounts -RequiredVersion 2.19.0 -Repository…

VIEW QUESTION

zero new lines while I do sonarscan on pull request using azure pipeline for my dot net code

- script: | git config --global http.https://dev.azure.com/<company>/.extraheader "AUTHORIZATION: bearer $(System.AccessToken)" # Now fetch the PR source branch using the token git fetch origin $(System.PullRequest.SourceBranch):$(System.PullRequest.SourceBranch) git checkout $(System.PullRequest.SourceBranch) displayName: 'Fetch and Checkout PR Source Branch' env: # This exposes the system…

VIEW QUESTION
Back To Top
Search