All Windows commands stopped working

Hi,
I managed to setup a travis.yml that compiles a Visual Studio solution.

The travis job was working just fine yesterday

https://travis-ci.org/JanC/XPlaneConnect/jobs/534123814

C:\Users\travis\build\JanC\XPlaneConnect>MSBuild.exe xpcPlugin/xpcPlugin/xpcPlugin.sln /p:Configuration=Release
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

(rest of the build output is omitted but the build completes fine)

The same config stopped working today without any changes made to the project or .yml file

https://travis-ci.org/JanC/XPlaneConnect/jobs/534452876

C:\Users\travis\build\JanC\XPlaneConnect>MSBuild.exe xpcPlugin/xpcPlugin/xpcPlugin.sln /p:Configuration=Release 

The job ends at this point without any other output from MSBuild.exe

Update: I noticed that all windows commands just fail without any error or info message
https://travis-ci.org/JanC/XPlaneConnect/jobs/534523993

any ideas?

Even a minimal .travis.yml does not work:

language: cpp
os: windows
env:
  - MSBUILD_PATH="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin"
script:
  - export PATH=$MSBUILD_PATH:$PATH
  - MSBuild.exe -help

The job fails silently on:

export PATH=$MSBUILD_PATH:$PATH
The command "export PATH=$MSBUILD_PATH:$PATH" exited with 0.
$ MSBuild.exe -help
1 Like

I also noticed that on Travis staging, it seems to work as expected:
https://github-apps-staging.travis-ci.com/JanC/XPlaneConnect/jobs/330138

$ MSBuild.exe -help
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

To answer my own question, this is due to the secrets not being supported on Windows :confused: