Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Update Win CI scripts to use syntax compatible with Win2019 server PS. #17526

Merged
merged 2 commits into from
Feb 8, 2020

Conversation

josephevans
Copy link
Contributor

Description

Our win CI scripts are failing on Windows 2019 Server. The newer PowerShell on this Win2019 Server gives a 'False' return code for the '$?' variable if any output is written to stderr, where previous versions did not. This PR changes the variable used for checking return code of last run program ($LastExitCode instead of $?) which works in all versions of PowerShell.

Sorry, had to recreate this PR.

@leezu leezu merged commit ebc77b7 into apache:master Feb 8, 2020
zheyuye pushed a commit to zheyuye/incubator-mxnet that referenced this pull request Feb 19, 2020
anirudh2290 pushed a commit to anirudh2290/mxnet that referenced this pull request May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants