How to debug appveyor.yml?

Violet Giraffe's Avatar

Violet Giraffe

26 Jul, 2016 10:55 AM

Hello,

Is there a better way of debugging my configuration than spamming the repo with appveyor.yml commits?

P. S. Odd behavior: got a "Project file "xxx.smproj" is not a valid MSBuild project file which must be an XML." build error. .smproj is a project file for SourceMonitor (C++ code metrics software). Why is MSBuild trying to build it?.. Because it ends with *proj? Could it be a mistake in the script that searches for projects/solutions to use MSBuild on?
I can work around this using project: xxx.sln, but it's weird that I have to.

  1. 1 Posted by Ilya Finkelshte... on 27 Jul, 2016 12:07 AM

    Ilya Finkelshteyn's Avatar

    Hi Alex,

    I think that in addition to updating appveyor.yml you can insert blocking RDP statement at needed stage of the build https://www.appveyor.com/docs/how-to/rdp-to-build-worker. This may be useful if you need to explore build worker file system, or try some specific command on the build worker, and you don’t want to start new build for every flavor of command to try. Please note that RDP session does not have the same set of environment variable as a build process.

    What about .smproj I believe it is a bug and filed it here: https://github.com/appveyor/ci/issues/949. Thanks for catch!

    --Ilya.

  2. 2 Posted by Violet Giraffe on 27 Jul, 2016 07:41 AM

    Violet Giraffe's Avatar

    Thank you!
    A great service you've created here :)

  3. 3 Posted by dragon788 on 07 Dec, 2016 07:23 PM

    dragon788's Avatar

    Violet, you can also temporarily host the appveyor.yml in a Gist or on an http/s server during development and only check it into the repository once you are happy with the results. This would allow revision tracking (via Gist) plus it makes for an easy way to share the same config across multiple jobs.

    https://github.com/appveyor/ci/issues/1089#issuecomment-265544933

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:09 AM.

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

Recent Discussions

09 Jul, 2026 04:35 PM
07 Jul, 2026 07:22 PM
30 Jun, 2026 08:51 PM
26 Jun, 2026 03:33 PM
25 Jun, 2026 12:31 AM

 

05 Jun, 2026 07:28 PM
29 May, 2026 02:17 PM
28 May, 2026 06:46 PM
21 May, 2026 04:32 AM
12 May, 2026 05:50 PM
12 May, 2026 04:16 PM