I tracked the problem down to that I had also set the environment variable using the "Environment" configuration of the project. The content of this variable, however, was an old (and thus unusable security token).
Appveyor should complain if a variable in a .yml tries to override the project configuration. Or, I would have expected the .yml file to overrule the configuration.
Thanks, I'll try the RDP stuff tomorrow, I was not aware of this option.
Well, this is a token for coveralls, I don't think it's that important that it needs to be hidden, I prefer to have the option to reproduce the issue if it happens instead of hiding this data...
Can't figure this out, need your help:
When I RDP to the machine and run the same command line from either cmd or powershell ISE the same files the build process created are uploaded to coveralls.io but when the regular build process it doesn't work... :-(
I don't know how to further debug this, maybe record with fiddler when the build process runs? but then I need a build agent that had fiddler installed on it or something...?
To use Fiddler you can set blocking RDP in both install and on_finish part. Install Fiddler manually and start it, then delete blocking file and let build go. On finish new blocking RDP statement will let you check the results.
However as a next step I propose less time consuming step. Try to run csmacnz.Coveralls.exe command with all parameters, outside of the .ps1 script and as cmd. If not all variables are available outside of the .ps1 script, then hard-code values. For beginning we just need to see how it works outside of script.