Skip to content

Commit

Permalink
Change back to windows host
Browse files Browse the repository at this point in the history
Currently there are some script and pwsh steps that don't
work well on linux so we need to stay on windows until those
can be fixed.

Things that don't work well:

- echo commands in script blocks. On windows they don't need quotes
  but on linux they do and escaping quotes is also different
- commands like mkdir on in pwsh scripts don't work consistently
  on windows it will create parent directories because it does
  the create recurisvely and it is just an alias to new-item. On
  linux it is not an alias and you have to pass the "-p" arg to
  get it to create parent directories. In general we should be careful
  with using alias' for cross-platform pwsh because they are not
  consistently alias' on all platforms.
  • Loading branch information
weshaggard committed Jan 24, 2020
1 parent f79dab5 commit 0301c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/pipelines/eng-common-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resources:
name: internal/azure-sdk-build-tools

pool:
vmImage: ubuntu-18.04
vmImage: windows-2019

jobs:
- job: SyncEngCommon
Expand Down

0 comments on commit 0301c21

Please sign in to comment.