The build stopped due to an unexpected logger failure.

David Ok's Avatar

David Ok

01 Sep, 2015 02:55 PM

Hello AppVeyor Team,

I get very often build errors like this:
https://ci.appveyor.com/project/davidok8/do-cv/build/1.0.355#L873

Very often, I had to resolve this by making new commits, which is a little bit annoying.

I would like to know if I did something wrong from my side. I quickly checked the build log and there should be no compilation errors apparently.

Best regards,
David.

  1. Support Staff 1 Posted by Feodor Fitsner on 01 Sep, 2015 03:57 PM

    Feodor Fitsner's Avatar

    Hi David,

    There could be an issue with AppVeyor msbuild logger when used with CPP projects. Replace "MSBuild" build scenario with "Script" and this command (without logger):

        "C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" "build\Sara.sln" /m /verbosity:minimal

  2. 2 Posted by David Ok on 01 Sep, 2015 07:28 PM

    David Ok's Avatar

    Hi Feodor,

    Thank you for you reply. I am giving it a try by doing what you suggested, which should happen in the page: https://ci.appveyor.com/project/davidok8/do-cv/settings/build.
    Correct?

    I have one question though: will this work work with my custom `appveyor.yml` which currently looks like:
    https://github.com/DO-CV/sara/blob/master/appveyor.yml

  3. Support Staff 3 Posted by Feodor Fitsner on 01 Sep, 2015 07:31 PM

    Feodor Fitsner's Avatar

    If you are using appveyor.yml then UI won't take any effect and you should change it in appveyor.yml:

    Remove build section and put this instead:

    build_script:
    - '"C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" build\Sara.sln /m /verbosity:minimal'
    
  4. 4 Posted by David on 01 Sep, 2015 10:09 PM

    David's Avatar

    Thanks Feodor, it works!

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 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