'appveyor' is not recognized as an internal or external command, operable program or batch file

jimbo1qaz's Avatar

jimbo1qaz

24 Dec, 2018 02:26 AM

I'm running a Python-based build system on appveyor.

image: Visual Studio 2017

I'm configuring options through YAML (not GUI).

https://ci.appveyor.com/project/jimbo1qaz/corrscope/builds/21208446...

When I try to run: if not "%pydir%"=="C:\Python36" appveyor exit, I get an error:
'appveyor' is not recognized as an internal or external command, operable program or batch file.

appveyor.exe is located in C:\Program Files\AppVeyor\BuildAgent\, which is the final PATH entry in a fresh Appveyor install. are cut off somehow when I append new entries? It seems to happen or not randomly/

Works here with a near-identical config: https://ci.appveyor.com/project/jimbo1qaz/corrscope/builds/21208826...

  1. Support Staff 1 Posted by Ilya Finkelshte... on 24 Dec, 2018 07:57 PM

    Ilya Finkelshteyn's Avatar

    Seems like you fixed it, right ;)

  2. 2 Posted by jimbo1qaz on 24 Dec, 2018 08:56 PM

    jimbo1qaz's Avatar

    I think calling refreshenv breaks appveyor. appveyor is also missing from RDP.

  3. Support Staff 3 Posted by Ilya Finkelshte... on 24 Dec, 2018 10:47 PM

    Ilya Finkelshteyn's Avatar

    RDP is not good way to test it. Environment variables (including path) are in RDP are not the same as in the build session.

  4. Ilya Finkelshteyn closed this discussion on 24 Feb, 2019 09:00 PM.

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

Keyboard shortcuts

Generic

? 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