Video Screencast Help

Powershell scripts might gave success codes for failure during deployments.

Created: 24 Oct 2012 | 1 comment
Archie100's picture
0 Agree
0 Disagree
0 0 Votes
Login to vote

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 CommentJump to latest comment

Archie100's picture

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.  

Login to vote