Skip to content

Commit

Permalink
[CI] Overwrite AZURE_EXTENSION_DIR to fix bug that CI will fail if in…
Browse files Browse the repository at this point in the history
…stalling azure-devops extension (Azure#1493)
  • Loading branch information
Jianhui Harold authored Apr 2, 2020
1 parent f100951 commit eb2e9a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,10 @@ jobs:
azdev setup -c ../azure-cli -r ./
az --version
# overwrite the default AZURE_EXTENSION_DIR set by ADO
AZURE_EXTENSION_DIR=~/.azure/cliextensions az --version
python scripts/ci/verify_linter.py
AZURE_EXTENSION_DIR=~/.azure/cliextensions python scripts/ci/verify_linter.py
displayName: "CLI Linter on Modified Extension"
env:
ADO_PULL_REQUEST_LATEST_COMMIT: $(System.PullRequest.SourceCommitId)
Expand Down

0 comments on commit eb2e9a5

Please sign in to comment.