Azure-devops-docs: InlineScript is mandatory even script location is File path - Confusion in AzureCLI@2 task Docs

Created on 7 Oct 2019  Â·  2Comments  Â·  Source: MicrosoftDocs/azure-devops-docs

scriptLocation values are mentioned as file path and inlineScript and default value is scriptPath

  • task: AzureCLI@2
    displayName: Azure CLI
    inputs:
    azureSubscription: 'DEMO'
    scriptType: pwsh
    scriptPath: 'Azure/AzInventory.ps1'

In this case scriptLocation is not mandatory - Please update the docs and add file path example.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 devops-cictech devopprod doc-bug stale-issue

Most helpful comment

Indeed, documentation around this is confusing and in parts just plain wrong. Please fix this. So much wasted time due to poor docs here.

All 2 comments

Indeed, documentation around this is confusing and in parts just plain wrong. Please fix this. So much wasted time due to poor docs here.

This issue hasn't been updated in more than 180 days, so we've closed it. If you feel the issue is still relevant and needs fixed, please reopen it and we'll take another look. We appreciate your feedback and apologize for any inconvenience.

Was this page helpful?
0 / 5 - 0 ratings