AppVoyer sees the build as a success when powershell actually throws

tugberk's Avatar

tugberk

12 Oct, 2014 02:47 PM

Hi,

One of my builds ends up with an error as below:
> kpm doesn't exists globally
> At C:\projects\kloggy\scripts\build.ps1:76 char:5
> + throw "kpm doesn't exists globally"
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> + CategoryInfo : OperationStopped: (kpm doesn't exists globally:S
> tring) [], RuntimeException
> + FullyQualifiedErrorId : kpm doesn't exists globally

However, the build status is actually showing success. Any idea what is actually wrong? The build script is here: https://github.com/tugberkugurlu/KLoggy/blob/fb3732e34a4863a5cf6caab573b1442c439947e9/scripts/build.ps1

Thanks!

  1. 1 Posted by tugberk on 12 Oct, 2014 03:08 PM

    tugberk's Avatar

    solved the problem. It was related to this: http://stackoverflow.com/questions/6359618/pass-parameter-from-batch-file-to-the-powershell-script

    So, it's all powershell.exe's fault. AppVoyer works just OK for this case :)

    Sorry for the trouble!

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