$env:CI_WINDOWS is 'True', where documentation uses 'true'

R-J's Avatar


04 Aug, 2019 01:08 PM

The documentation for detecting the usage of Linux or Windows images says the value of the environment variables CI_WINDOWS and CI_LINUX are either true or false.

But on the current Windows images (Visual Studio 2013-2019) the actual value is True.
(I do not know what the value is on the Linux images.)

  1. Support Staff 1 Posted by Ilya Finkelshte... on 06 Aug, 2019 12:46 AM

    Ilya Finkelshteyn's Avatar

    Yes, we are aware about it. It will go away soon, as we are rolling out a new cross platform build agent on build VMs (it is different agents for Windows and Linux now). It will be all low-case.

  2. Ilya Finkelshteyn closed this discussion on 06 Aug, 2019 12:46 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac