Powershell scripts might gave success codes for failure during deployments.
Created: 24 Oct 2012 | 1 comment
If the powershell set-executionpolicy is not in remotesigned or unrestricted mode, in the deployment phase scripts might return success code(0) eventhought script is not even executed because of the restriction. From 7 scripts two first completed successfully and later ones failed. After deployment codes are working as they should.
Comments 1 Comment • Jump to latest comment
This was actually issue with the OS image, which included older version of the agent. That caused lot of different kind of issues during deployment as the plugins where upgrading automatically in the background. Would it be possible to add warning to logs, so that it would tell that you are using older version of the agent or some other mechanism to recognize this trivial issues.
Would you like to reply?
Login or Register to post your comment.