skip to Main Content

Azure – The term 'Connect-AzAccount' is not recognized as a name of a cmdlet

This code is working in my local machine in Powershell ISE, but it is not working in the devops pipeline $AzureTenantId = "dgfg" $AzureApplicationId = "fgfgg" $AzureApplicationSecret = "fdgfghf" $SecuredApplicationSecret = ConvertTo-SecureString "$AzureApplicationSecret" -AsPlainText -Force $psCred = New-Object System.Management.Automation.PSCredential($AzureApplicationId ,…

VIEW QUESTION

Azure DevOps "Code Coverage" view changes after pipeline run finished

I do use PublishCodeCoverageResults@2 task in my Azure DevOps pipeline - task: PublishCodeCoverageResults@2 inputs: codeCoverageTool: 'JaCoCo' summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/target/site/jacoco-aggregate/**/jacoco.xml' reportDirectory: '$(System.DefaultWorkingDirectory)/target/site/jacoco-aggregate/' pathToSources: '$(System.DefaultWorkingDirectory)/**/src/main/java/' failIfCoverageEmpty: false Everything works nicely but the odd thing is - while running this task the Code Coverage…

VIEW QUESTION
Back To Top
Search